mus_append_derVar_physics Subroutine

public subroutine mus_append_derVar_physics(derVarName, varSys, solverData, nFields, fldLabel)

subroutine to add derive variables for weakly compressible LBM (schemekind = 'lbm') to the varsys.

Arguments

TypeIntentOptionalAttributesName
type(grw_labelarray_type), intent(in) :: derVarName

array of derive variables

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

global variable system

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

Contains pointer to solver data types

integer, intent(in) :: nFields

number of fields

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

array of field label prefix. Size=nFields


Calls

proc~~mus_append_dervar_physics~~CallsGraph proc~mus_append_dervar_physics mus_append_derVar_physics interface~positionofval positionofval proc~mus_append_dervar_physics->interface~positionofval proc~tem_varsys_append_dervar tem_varSys_append_derVar proc~mus_append_dervar_physics->proc~tem_varsys_append_dervar proc~tem_abort tem_abort proc~mus_append_dervar_physics->proc~tem_abort proc~mus_get_new_solver_ptr mus_get_new_solver_ptr proc~mus_append_dervar_physics->proc~mus_get_new_solver_ptr

Called by

proc~~mus_append_dervar_physics~~CalledByGraph proc~mus_append_dervar_physics mus_append_derVar_physics proc~mus_build_varsys mus_build_varSys proc~mus_build_varsys->proc~mus_append_dervar_physics proc~mus_init_scheme mus_init_scheme proc~mus_init_scheme->proc~mus_build_varsys proc~mus_initialize mus_initialize proc~mus_initialize->proc~mus_init_scheme program~mus_harvesting mus_harvesting program~mus_harvesting->proc~mus_init_scheme proc~mus_perform_dynloadbal mus_perform_dynLoadBal proc~mus_perform_dynloadbal->proc~mus_init_scheme none~do_balance do_balance none~do_balance->proc~mus_perform_dynloadbal program~musubi musubi program~musubi->proc~mus_initialize

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iVar
integer, private :: iField
integer, private :: addedPos
integer, private :: nDerVars
integer, private :: nFields_loc
integer, private :: input_varPos
integer, private :: invar_nComp
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 :: phyVar_name
character(len=labelLen), private :: input_varname(1)