Create newtree out of intree by restricting to the elements of subtree.
The new mesh will have no properties
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | private | :: | withprop | ||||
integer(kind=long_k), | private | :: | nNewElems | ||||
integer, | private | :: | iProp | ||||
integer, | private | :: | iError |