mus_construct_connectivity Subroutine

public subroutine mus_construct_connectivity(neigh, nSize, nElems, levelDesc, stencil, varSys, stateVarMap)

Construct the propagation list for each element of 1st field.

the bounce back rules have to be applied here

Create connectivity array for one field such that it points to poisition of 1st Field in state array and use macro NGOFFSET to access other field states.

Arguments

Type IntentOptional Attributes Name
integer, intent(out) :: neigh(:)

connectivity array

integer, intent(in) :: nSize

number of elements in state array

integer, intent(in) :: nElems

number of elements in local partition

type(tem_levelDesc_type), intent(in) :: levelDesc

current level description

type(tem_stencilHeader_type), intent(in) :: stencil

fluid stencil

type(tem_varSys_type), intent(in) :: varSys

global variable system

type(tem_varMap_type), intent(in) :: stateVarMap

state varMap