update_BClists Subroutine

private subroutine update_BClists(scheme, minLevel, maxLevel, nBCs, LP, remove_solid)

Update the neighbor stencil positions for the Boundaries

Before, positions in the original treeIDs were assigned to the boundary element lists. Update these now with level-wise positions in the tem_levelDesc_type "total list". When no element is found, the value in nghElems is 0. This has to be treated in this routine. If an empty neighbor relation is encountered, the last valid neighbor is used for all other neighbors Assertion: Before this routine, we should have: scheme%globBC( iBnd )%nElems( iLevel ) scheme%globBC( iBnd )%elemLvl( iLevel )%elem%val( iElem ))

Arguments

Type IntentOptional Attributes Name
type(mus_scheme_type), intent(inout) :: scheme

scheme information including fluid, boundary and flow information

integer, intent(in) :: minLevel
integer, intent(in) :: maxLevel
integer, intent(in) :: nBCs
integer, intent(in) :: LP(:)

Level Pointer

logical, intent(in) :: remove_solid