It count valid (non-solid) elements in BC elements list. Input: minLevel, maxLevel LevelPointer LevelDesc nElems - number of BC elements elems - positions of BC elements in tree or levelPointer Output: nValid - number of valid BC elements posInBCElem - positions of valid elements in BC elements list
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | minLevel | |||
integer, | intent(in) | :: | maxLevel | |||
integer, | intent(in) | :: | levelPointer(:) | Level Pointer ( position of a element in level desc ) |
||
type(tem_levelDesc_type), | intent(in) | :: | levelDesc(minLevel:maxLevel) | Level Descriptor |
||
integer, | intent(in) | :: | nElems(minLevel:maxLevel) | number of BC elements |
||
type(bc_elems_type), | intent(in) | :: | elemLvl(minLevel:maxLevel) | BC elements list that contains their position in levelPointer |
||
integer, | intent(out) | :: | nValid(minLevel:maxLevel) | number of valid (non-solid) elements |
||
integer, | intent(out) | :: | posInBCElem(maxval(nElems),minLevel:maxLevel) | positions of valid elements in globBC elements list |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | iElem | ||||
integer, | private | :: | iLevel | ||||
integer, | private | :: | posInTotal |