mus_calcAuxField_zerothMoment Subroutine

private subroutine mus_calcAuxField_zerothMoment(auxField, state, neigh, nSize, nSolve, iLevel, stencil, varSys, derVarPos)

This routine compute zeroth moment from state and store in auxField. use this routine only for models which requires only zeroth-order moment as auxField

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(inout) :: auxField(:)

output auxField array

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

input state array

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

connectivity array

integer, intent(in) :: nSize

number of elements in the state array

integer, intent(in) :: nSolve

number of elements excluding halos

integer, intent(in) :: iLevel

current level

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

stencil header

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

variable system definition

type(mus_derVarPos_type), intent(in) :: derVarPos(:)

position of derived quantities in varsys


Calls

proc~~mus_calcauxfield_zerothmoment~~CallsGraph proc~mus_calcauxfield_zerothmoment mus_calcAuxField_zerothMoment proc~tem_abort tem_abort proc~mus_calcauxfield_zerothmoment->proc~tem_abort

Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=rk), private :: pdf(stencil%QQ)
integer, private :: iElem
integer, private :: iDir