tem_create_tree_from_sub Subroutine

public subroutine tem_create_tree_from_sub(intree, subtree, newtree, keep_props)

Create newtree out of intree by restricting to the elements of subtree.

The new mesh will have no properties

Arguments

TypeIntentOptionalAttributesName
type(treelmesh_type), intent(in) :: intree

The tree on which the subtree is defined.

type(tem_subTree_type), intent(in) :: subtree

Subtree describing the part of the mesh to create a new mesh from.

type(treelmesh_type), intent(out) :: newtree

Resulting new tree with the elements selected by subtree from newtree.

logical, intent(in), optional :: keep_props

Flag to indicate whether to keep properties from intree also in newtree.

If this is true, the properties will be copied from the intree to the newtree. An actual copy is done, as we can not rely on the pointer targets in intree to exist further on. Default is .false., which means all properties will be dropped and newtree will have no properties at all.


Calls

proc~~tem_create_tree_from_sub~~CallsGraph proc~tem_create_tree_from_sub tem_create_tree_from_sub mpi_allgather mpi_allgather proc~tem_create_tree_from_sub->mpi_allgather proc~tem_prop_countelems tem_prop_countelems proc~tem_create_tree_from_sub->proc~tem_prop_countelems mpi_exscan mpi_exscan proc~tem_create_tree_from_sub->mpi_exscan mpi_bcast mpi_bcast proc~tem_create_tree_from_sub->mpi_bcast proc~gather_property gather_property proc~tem_create_tree_from_sub->proc~gather_property mpi_allreduce mpi_allreduce proc~tem_prop_countelems->mpi_allreduce proc~gather_property->mpi_exscan

Contents


Variables

TypeVisibilityAttributesNameInitial
logical, private :: withprop
integer(kind=long_k), private :: nNewElems
integer, private :: iProp
integer, private :: iError