fill_neighBuffer Subroutine

private subroutine fill_neighBuffer(prevstate, currstate, neigh, globBC, nBCs, field, varSys, QQ, nSize, iLevel)

Transfer pre- and post-collision PDF of neighbors of boundary elements into neighBufferPre and neighBufferPost. Access to state array


  • NeighBufferPre: FETCH
  • NeighBufferPost: SAVE
Todo

for PUSH, post-collision is not correct yet.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: prevstate(:)

Previous state vector of iLevel

real(kind=rk), intent(in) :: currstate(:)

Current state vector of iLevel

integer, intent(in) :: neigh(:)

connectivity array corresponding to state vector

type(glob_boundary_type), intent(in) :: globBC(:)

scheme global boundary type

integer, intent(in) :: nBCs

number of total BC

type(mus_field_type), intent(inout) :: field(:)

fluid parameters and properties

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

scheme variable system

integer, intent(in) :: QQ

number of total links

integer, intent(in) :: nSize

number of elements in state vector

integer, intent(in) :: iLevel

the iLevel on which this boundary was invoked