mus_apply_sourceTerms Subroutine

public subroutine mus_apply_sourceTerms(field, nFields, globSrc, pdf, varSys, iLevel, time, phyConvFac, state, auxField, derVarPos)

Apply all source terms i.e field specific source and global source on all fields.

Arguments

TypeIntentOptionalAttributesName
type(mus_field_type), intent(in) :: field(nFields)

contains sources of all fields

integer, intent(in) :: nFields

Number of fields

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

global source

type(pdf_data_type), intent(inout) :: pdf

pdf datatype

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

global variable system

integer, intent(in) :: iLevel

current level

type(tem_time_type), intent(in) :: time

current timing information

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

Physics conversion factor for current level

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

state type containing the state vector to update

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

auxField array

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

position of derived quantities in varsys


Calls

proc~~mus_apply_sourceterms~~CallsGraph proc~mus_apply_sourceterms mus_apply_sourceTerms proc~tem_starttimer tem_startTimer proc~mus_apply_sourceterms->proc~tem_starttimer proc~tem_stoptimer tem_stopTimer proc~mus_apply_sourceterms->proc~tem_stoptimer

Called by

proc~~mus_apply_sourceterms~~CalledByGraph proc~mus_apply_sourceterms mus_apply_sourceTerms proc~do_recursive_multilevel do_recursive_multiLevel proc~do_recursive_multilevel->proc~mus_apply_sourceterms proc~do_benchmark do_benchmark proc~do_benchmark->proc~mus_apply_sourceterms proc~do_fast_singlelevel do_fast_singleLevel proc~do_fast_singlelevel->proc~mus_apply_sourceterms

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iSrc
integer, private :: iField
integer, private :: now
integer, private :: next