Create a subTree from a given inTree and an array of shapes.
All elements to the inTree%treeID are collected into the subTree%map2global array and a sub-communicator with participating processes is created. Additionally how many and which elements exist on my local process and are requested from the shapes is identified.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(treelmesh_type), | intent(in) | :: | inTree | Global mesh from which the elements are identified and then stored to |
||
type(tem_subTree_type), | intent(out) | :: | subTree | new mesh |
||
type(tem_shape_type), | intent(in) | :: | inShape(:) | shape objects on which to work |
||
type(tem_levelDesc_type), | intent(in), | optional | :: | levelDesc(:) | optional level descriptor needed for local shape |
|
type(tem_BC_prop_type), | intent(in), | optional | :: | bc_prop | bc property which is used to identify elements belong to certain BCs |
|
logical, | intent(in), | optional | :: | storePnts | To store space points in subTree |
|
type(tem_stencilHeader_type), | intent(in), | optional | :: | stencil | stencil used to find bcID on certain links |
|
character(len=*), | intent(in), | optional | :: | prefix | prefix for the subTree |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(dyn_intarray_type), | private | :: | local_map2global | ||||
type(tem_grwPoints_type), | private | :: | local_grwPnts | ||||
integer, | private, | allocatable | :: | map2globalTemp(:) | |||
integer(kind=long_k), | private, | allocatable | :: | tmp_treeID(:) | |||
integer, | private | :: | iShape | ||||
integer, | private | :: | iElem | ||||
integer, | private | :: | color | ||||
integer, | private | :: | iError | ||||
logical, | private | :: | participateInMesh | ||||
logical, | private | :: | globalParticipateInMesh | ||||
logical, | private | :: | foundAny | ||||
integer, | private | :: | local_countElems(globalMaxLevels) | ||||
integer, | private | :: | local_countPnts | ||||
logical, | private | :: | local_storePnts |