mus_update_sourceVars Subroutine

public subroutine mus_update_sourceVars(nFields, field, globSrc, varSys, iLevel, auxField, phyConvFac, derVarPos)

Updated all source variables i.e field specific source and global source on all fields.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nFields

Number of fields

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

contains sources of all fields

type(mus_source_type), intent(inout) :: globSrc

global source

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

global variable system

integer, intent(in) :: iLevel

current level

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

auxField array

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

Physics conversion factor for current level

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

position of derived quantities in varsys