mus_initAuxFieldFluidAndExchange Subroutine

public subroutine mus_initAuxFieldFluidAndExchange(auxField, state, neigh, nElems, nSize, nFields, stencil, varSys, derVarPos, iLevel, general, quantities)

This routine initializes auxField for fluid elements using SAVE access on PDF initialized by IC

Arguments

Type IntentOptional Attributes Name
type(mus_auxFieldVar_type), intent(inout) :: auxField

auxilary field array

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

state array

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

connectivity vector

integer, intent(in) :: nElems

number of elements to compute auxField

integer, intent(in) :: nSize

number of elements in state array

integer, intent(in) :: nFields

number of fields

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

stencil header

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

variable system

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

contains auxField position of all fields in varSys

integer, intent(in) :: iLevel

current level

type(tem_general_type), intent(in) :: general

contains commPattern, MPI communicator and simControl

type(mus_scheme_derived_quantities_type), intent(in) :: quantities

Class that contains pointers to the proper derived quantities functions