derive_auxFromStateFunc Abstract Interface

abstract interface
private pure function derive_auxFromStateFunc(derVarPos, state, iField, stencil, varSys) result(res)


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

Position of derive variable in variable system

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

Array of state layout%stencil(1)%QQ * nFields

integer, intent(in) :: iField

Current field

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

stencil header contains discrete velocity vectors

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

variable system which is required to access fieldProp information via variable method data c_ptr

Return Value real(kind=rk)(varSys%nAuxScalars)

Output of this routine Size: nAuxScalars


Derive auxField from state for single element