mus_source_var_module Module

Module containing subroutines for building MUSUBI specific source variables



Subroutines

public subroutine mus_updateSrcVar_dynSponFld(fun, auxField, iLevel, varSys, phyConvFac, derVarPos)

Compute density and velocity in sponge layer for dynamic sponge

Arguments

Type IntentOptional Attributes Name
class(mus_source_op_type), intent(inout) :: fun

Description of method to update source

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

input auxField array on current level

integer, intent(in) :: iLevel

current level

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

variable system definition

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

Physics conversion factor on current level

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

position of derived quantities in varsys

public subroutine mus_add_internal_source_var(me, possVars, varSys, schemeHeader)

Routine load musubi source terms for given key. key is glob_source or source

Arguments

Type IntentOptional Attributes Name
type(mus_source_type), intent(out) :: me

Source variable type to initialize

type(tem_possible_variable_type), intent(in) :: possVars

possible source variables

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

Global variable system

type(mus_scheme_header_type), intent(in) :: schemeHeader

Identifier of the scheme