tem_create_subTree_of Subroutine

public subroutine tem_create_subTree_of(inTree, subTree, inShape, levelDesc, bc_prop, storePnts, stencil, prefix)

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.

Arguments

TypeIntentOptionalAttributesName
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


Calls

proc~~tem_create_subtree_of~~CallsGraph proc~tem_create_subtree_of tem_create_subTree_of interface~tem_seteffboundingbox tem_setEffBoundingBox proc~tem_create_subtree_of->interface~tem_seteffboundingbox mpi_allreduce mpi_allreduce proc~tem_create_subtree_of->mpi_allreduce proc~tem_shape_findelembybclabels tem_shape_findElemByBCLabels proc~tem_create_subtree_of->proc~tem_shape_findelembybclabels mpi_comm_rank mpi_comm_rank proc~tem_create_subtree_of->mpi_comm_rank mpi_comm_size mpi_comm_size proc~tem_create_subtree_of->mpi_comm_size proc~tem_shape_initlocal tem_shape_initLocal proc~tem_create_subtree_of->proc~tem_shape_initlocal interface~tem_log tem_log proc~tem_create_subtree_of->interface~tem_log proc~tem_shape_initbylevels tem_shape_initByLevels proc~tem_create_subtree_of->proc~tem_shape_initbylevels interface~tem_copypropertybits tem_copyPropertyBits proc~tem_create_subtree_of->interface~tem_copypropertybits proc~tem_shape_subtreefromgeominters tem_shape_subTreeFromGeomInters proc~tem_create_subtree_of->proc~tem_shape_subtreefromgeominters interface~init~15 init proc~tem_create_subtree_of->interface~init~15 proc~tem_abort tem_abort proc~tem_create_subtree_of->proc~tem_abort mpi_comm_split mpi_comm_split proc~tem_create_subtree_of->mpi_comm_split proc~tem_shape_initpropelements tem_shape_initPropElements proc~tem_create_subtree_of->proc~tem_shape_initpropelements interface~tem_tostr tem_toStr proc~tem_create_subtree_of->interface~tem_tostr interface~destroy~15 destroy proc~tem_create_subtree_of->interface~destroy~15 proc~tem_horizontalspacer tem_horizontalSpacer proc~tem_create_subtree_of->proc~tem_horizontalspacer proc~tem_subtree_from tem_subTree_from proc~tem_create_subtree_of->proc~tem_subtree_from proc~tem_baryofid tem_BaryOfId proc~tem_create_subtree_of->proc~tem_baryofid

Called by

proc~~tem_create_subtree_of~~CalledByGraph proc~tem_create_subtree_of tem_create_subTree_of proc~tem_write_debugmesh tem_write_debugMesh proc~tem_write_debugmesh->proc~tem_create_subtree_of program~tem_varsys_test tem_varSys_test program~tem_varsys_test->proc~tem_create_subtree_of proc~tem_init_tracker_subtree tem_init_tracker_subTree proc~tem_init_tracker_subtree->proc~tem_create_subtree_of proc~tem_init_convergence tem_init_convergence proc~tem_init_convergence->proc~tem_create_subtree_of proc~tem_create_subtree_of_st_funlist tem_create_subTree_of_st_funList proc~tem_create_subtree_of_st_funlist->proc~tem_create_subtree_of program~tem_varsys_stfunvar_test tem_varSys_stfunVar_test program~tem_varsys_stfunvar_test->proc~tem_create_subtree_of_st_funlist proc~check_variableoperations check_variableOperations proc~check_variableoperations->proc~tem_create_subtree_of_st_funlist program~tem_variable_evaltype_test tem_variable_evaltype_test program~tem_variable_evaltype_test->proc~tem_create_subtree_of_st_funlist program~tem_variable_extract_test tem_variable_extract_test program~tem_variable_extract_test->proc~tem_create_subtree_of_st_funlist program~tem_variable_combine_test tem_variable_combine_Test program~tem_variable_combine_test->proc~tem_create_subtree_of_st_funlist program~tem_varsys_opvar_test tem_varSys_opVar_test program~tem_varsys_opvar_test->proc~tem_create_subtree_of_st_funlist program~tem_logical_opertor_test tem_logical_opertor_test program~tem_logical_opertor_test->proc~check_variableoperations

Contents


Variables

TypeVisibilityAttributesNameInitial
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