This routine identify elements that belong to certain bounaries. Labels of required boundaries are given by bcLabels. bc_prop contains boudnary_ID of all local elements. Firstly, bcLabels are converted into bcIDs. Then all elements in bc_prop are looped over to check if it matches one of the required bcID. If match, its position is save in map2global. Number of elements found on each level is saved in countElems.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=labelLen), | intent(in) | :: | bcLabels(:) | bcLabels |
||
type(tem_BC_prop_type), | intent(in) | :: | bc_prop | bc property |
||
logical, | intent(out) | :: | foundAny | if any element be identified |
||
type(dyn_intarray_type), | intent(inout) | :: | map2global | dynamic array. Elements positions in bc_prop%property%elemID |
||
integer, | intent(out), | allocatable | :: | bcIDs(:) | id of boundary condition to be tracked |
|
type(tem_stencilHeader_type), | intent(in), | optional | :: | stencil | stencil required to get useful links |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | dPos | ||||
integer, | private | :: | iElem | ||||
integer, | private | :: | iBC | ||||
integer, | private | :: | nBCs | ||||
integer, | private | :: | iBCtype | ||||
integer, | private | :: | posInTree | ||||
integer, | private | :: | QQN | ||||
logical, | private | :: | wasAdded | ||||
logical, | private | :: | found | ||||
integer, | private, | allocatable | :: | map(:) |