This module provides the description of the complete geometry to mesh.
Geometric description of the space to mesh.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(tem_cube_type), | public | :: | universe | The universe given as a bounding cube. |
|||
type(grw_pointarray_type), | public | :: | point | growing array of all points |
|||
type(grw_linearray_type), | public | :: | line | growing array of all lines |
|||
type(grw_trianglearray_type), | public | :: | triangle | growing array of all triangles |
|||
type(grw_boxarray_type), | public | :: | box | growing array of all boxes |
|||
type(grw_periplanearray_type), | public | :: | periPlane | growing array of periodic plane objects |
|||
type(grw_spherearray_type), | public | :: | sphere | growing array of spheres |
|||
type(grw_ellipsoidarray_type), | public | :: | ellipsoid | growing array of spheres |
|||
type(grw_cylinderarray_type), | public | :: | cylinder | growing array of cylinders |
|||
type(grw_spacerinterwovenarray_type), | public | :: | spacerInterwoven | growing array of spacer |
|||
type(grw_spatialobjarray_type), | public | :: | spatialObj | Growing array of geometrical objects. |
|||
type(sdr_attrList_type), | public | :: | attribute | Dynamic Unique array of attributes connected to the objects (seed, boundary or refinement) |
|||
logical, | public | :: | smoothbounds | = | .true. | Smooth refinement towards boundaries. |
|
logical, | public | :: | smoothLevels | = | .true. | Smooth level jumps, avoid level jump > 1 in domain |
|
integer, | public | :: | nUserObjs | Number of user defined spatial objects i.e excluding spatial objects created for distance refine |
Test the intersection between the given cube and the object specified by obj_pos.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_cube_type), | intent(in) | :: | cube | |||
type(sdr_geometry_type), | intent(in) | :: | geometry | |||
integer, | intent(in) | :: | obj_pos |
Routine to load spatial object defined in config file and store in geometry type
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(sdr_geometry_type), | intent(out) | :: | me | contains all geometry infomation |
||
type(dyn_labelarray_type), | intent(in) | :: | subres_colors | All the colors, which should be default use subelement resolution for their boundaries. |
||
type(dyn_labelarray_type), | intent(in) | :: | invert_colors | |||
type(flu_State) | :: | conf |
Routine to load single spatial object table defined in config file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(sdr_geometry_type), | intent(inout) | :: | me | contains all geometry infomation |
||
type(dyn_labelarray_type), | intent(in) | :: | subres_colors | All the colors, which should be default use subelement resolution for their boundaries. |
||
type(flu_State) | :: | conf | ||||
integer, | intent(in) | :: | thandle |
This routine loads the geometry table from the config file i.e loading different geometry kinds like canoND, cube, periodic, STL etc.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(sdr_geometry_type), | intent(inout) | :: | me | |||
type(flu_State) | :: | conf | ||||
integer, | intent(in) | :: | thandle | |||
integer, | intent(in) | :: | attr_pos | Position of the attribute to connect the geometric objects to. |
||
type(tem_transformation_type), | intent(in) | :: | transform |
This routine reads a single geometry table from the config file i.e loading different geometry kinds like canoND, cube, periodic, STL etc.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(sdr_geometry_type), | intent(inout) | :: | me | |||
type(flu_State) | :: | conf | ||||
integer, | intent(in) | :: | thandle | |||
integer, | intent(in) | :: | attr_pos | Position of the attribute to connect all primitives to. |
||
type(tem_transformation_type), | intent(in) | :: | transform |
This routine created sphere objects and new attribute and extend a list of spatial objects if node intersected boundary has distance refine.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | coord(4) | Coordinate of current node |
||
real(kind=rk), | intent(in) | :: | dx | |||
integer, | intent(in) | :: | iLevel | Current node level |
||
type(sdr_geometry_type), | intent(inout) | :: | geometry | type which contains all geometry object infos |
||
integer, | intent(in) | :: | intersected_first | This node's first position in intersected_object |
||
integer, | intent(in) | :: | intersected_last | This node's last position in intersected_object |
||
type(grw_intarray_type), | intent(in) | :: | intersected_object | Growing array of intersected_objects |