mus_init_poisson Subroutine

private subroutine mus_init_poisson(me, tree, fac, scaling, field, state, nElems, nSize, iLevel)

Initialize poisson lbm from potential Equilibirium pdf (fEq) is calculated from potential.

Calculate equilibrium distribution functions fEq

Arguments

TypeIntentOptionalAttributesName
type(mus_scheme_type), intent(in) :: me

Scheme type

type(treelmesh_type), intent(in) :: tree

tree type

type(mus_convertFac_type), intent(in) :: fac

Global parameters

character(len=*), intent(in) :: scaling

scaling

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

Field type

real(kind=rk), intent(inout) :: state(:)

PDF

integer, intent(in) :: nElems

Number of local elements

integer, intent(in) :: nSize

number of elements as size

integer, intent(in) :: iLevel

Level index


Calls

proc~~mus_init_poisson~~CallsGraph proc~mus_init_poisson mus_init_poisson proc~tem_baryofid tem_BaryOfId proc~mus_init_poisson->proc~tem_baryofid interface~tem_spatial_for tem_spatial_for proc~mus_init_poisson->interface~tem_spatial_for

Called by

proc~~mus_init_poisson~~CalledByGraph proc~mus_init_poisson mus_init_poisson proc~mus_init_byic mus_init_byIC proc~mus_init_byic->proc~mus_init_poisson proc~mus_init_flow mus_init_flow proc~mus_init_flow->proc~mus_init_byic proc~mus_initialize mus_initialize proc~mus_initialize->proc~mus_init_flow program~musubi musubi program~musubi->proc~mus_initialize

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iDir
integer, private :: iElem
real(kind=rk), private, allocatable:: potential(:)
real(kind=rk), private, allocatable:: xc(:,:)
integer, private :: iChunk
integer, private :: nChunks
integer, private :: chunkSize
integer, private :: nChunkElems
integer, private :: elemOff
integer, private :: elemPos
integer, private :: QQ
integer, private :: idx_iDir(me%layout%fStencil%QQ)
real(kind=rk), private :: inv_potential
real(kind=rk), private :: fEq
integer, private :: iField