mus_append_stateVar Subroutine

public subroutine mus_append_stateVar(varSys, stateVarMap, solverData, schemeHeader, stencil, nFields, fldLabel)

Append state variable depends on the scheme kind

allocate function pointers, and append pdf to scheme%varSys

Arguments

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

global variable system

type(tem_varMap_type), intent(out) :: stateVarMap

Store position of state variable in global varSys

type(mus_varSys_solverData_type), intent(in), target:: solverData

Contains pointer to solver data types

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

identifier of the scheme

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

compute stencil defintion

integer, intent(in) :: nFields

number of fields

character(len=*), intent(in) :: fldLabel(:)

array of field label prefix. Size=nFields


Calls

proc~~mus_append_statevar~~CallsGraph proc~mus_append_statevar mus_append_stateVar proc~mus_get_new_solver_ptr mus_get_new_solver_ptr proc~mus_append_statevar->proc~mus_get_new_solver_ptr interface~init init proc~mus_append_statevar->interface~init proc~tem_varsys_append_statevar tem_varSys_append_stateVar proc~mus_append_statevar->proc~tem_varsys_append_statevar interface~truncate truncate proc~mus_append_statevar->interface~truncate interface~append append proc~mus_append_statevar->interface~append proc~tem_abort tem_abort proc~mus_append_statevar->proc~tem_abort

Called by

proc~~mus_append_statevar~~CalledByGraph proc~mus_append_statevar mus_append_stateVar proc~mus_load_scheme mus_load_scheme proc~mus_load_scheme->proc~mus_append_statevar proc~mus_hvs_load_solverdata mus_hvs_load_solverData proc~mus_hvs_load_solverdata->proc~mus_load_scheme proc~mus_load_config mus_load_config proc~mus_load_config->proc~mus_load_scheme program~musubi musubi program~musubi->proc~mus_load_config proc~mus_hvs_config_load mus_hvs_config_load proc~mus_hvs_config_load->proc~mus_hvs_load_solverdata program~mus_harvesting mus_harvesting program~mus_harvesting->proc~mus_hvs_config_load

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iField
integer, private :: addedPos
logical, private :: wasAdded
procedure(tem_varSys_proc_point), private, pointer:: get_point=> NULL()
procedure(tem_varSys_proc_element), private, pointer:: get_element=> NULL()
procedure(tem_varSys_proc_setParams), private, pointer:: set_params=> null()
procedure(tem_varSys_proc_getParams), private, pointer:: get_params=> null()
procedure(tem_varSys_proc_setupIndices), private, pointer:: setup_indices=> null()
procedure(tem_varSys_proc_getValOfIndex), private, pointer:: get_valOfIndex=> null()
character(len=labelLen), private :: varname