tem_polygon_material_type Derived Type

type, public :: tem_polygon_material_type

Description of a 2D closed polygon.


Components

Type Visibility Attributes Name Initial
type(tem_polygon_vertex_type), public, allocatable :: poly_list(:)

poly_list, we can have multiply of them

type(tem_polygon_movement_type), public :: moving

Movement of each polygon

integer, public :: nPoly

Number of poly_list

real(kind=rk), public :: zmin

Extrude in z direction

real(kind=rk), public :: zmax
integer, public :: nComponents

how many components inval/outval have, they are defined as vectors and might have more than 1 entries, defined by the user in the config file!

real(kind=rk), public, allocatable :: inval(:)

Value of Material inside the polygon.

real(kind=rk), public, allocatable :: outval(:)

Value of Material outside the polygon.


Source Code

  type tem_polygon_material_type
    !> poly_list, we can have multiply of them
    type(tem_polygon_vertex_type),allocatable :: poly_list(:)
    !> Movement of each polygon
    type(tem_polygon_movement_type) :: moving
    !> Number of poly_list
    integer :: nPoly
    !> Extrude in z direction
    real(kind=rk) :: zmin
    real(kind=rk) :: zmax
    !> how many components inval/outval have,
    !> they are defined as vectors and might
    !> have more than 1 entries, defined by
    !> the user in the config file!
    integer :: nComponents
    !> Value of Material inside the polygon.
    real(kind=rk), allocatable :: inval(:)
    !> Value of Material outside the polygon.
    real(kind=rk), allocatable :: outval(:)
  end type tem_polygon_material_type