Create the boundary property for a restricted set of elements given by sublist (position of elements in tree, usually from a subtree).
After creating a new tree with tem_create_tree_from_sub, this routine can be used to create the according boundary information on the restricted set of elements.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(treelmesh_type), | intent(in) | :: | tree | The original tree from which the subset is to be selected. |
||
type(tem_BC_prop_type), | intent(in) | :: | bc | The boundary condition property in the original mesh (tree). |
||
type(tem_prophead_type), | intent(in), | target | :: | header | Header description of the boundary condition property in the sublist. This information has to be gathered for the elements of the sublist beforehand. |
|
type(tem_property_type), | intent(in), | target | :: | property | Property description of the boundary condition property in the sublist. This information has to be gathered for the elements of the sublist beforehand. |
|
integer, | intent(in) | :: | sublist(:) | List of elements to get the boundary information for. |
||
type(tem_BC_prop_type), | intent(out) | :: | sub_bc | New boundary property description for just the elements provided in sublist. This may be used to correctly describe the boundary conditions in a subtree for example. |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | iElem | ||||
integer, | private | :: | iBCElem | ||||
integer, | private | :: | iSubBCElem | ||||
integer, | private | :: | iSubElem | ||||
integer, | private | :: | nSubElems |