mus_append_derVar_lbmPS Subroutine

public subroutine mus_append_derVar_lbmPS(varSys, solverData, fldLabel, derVarName)

subroutine to add derive variables for weakly compressible LBM (schemekind = 'passive_scalar') to the varsys. for passive scalar contains only one derive variable: density

Arguments

TypeIntentOptionalAttributesName
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

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

array of field label prefix. Size=nFields

type(grw_labelarray_type), intent(inout) :: derVarName

array of derive physical variables


Calls

proc~~mus_append_dervar_lbmps~~CallsGraph proc~mus_append_dervar_lbmps mus_append_derVar_lbmPS proc~tem_varsys_append_dervar tem_varSys_append_derVar proc~mus_append_dervar_lbmps->proc~tem_varsys_append_dervar proc~mus_get_new_solver_ptr mus_get_new_solver_ptr proc~mus_append_dervar_lbmps->proc~mus_get_new_solver_ptr interface~append append proc~mus_append_dervar_lbmps->interface~append proc~tem_abort tem_abort proc~mus_append_dervar_lbmps->proc~tem_abort

Called by

proc~~mus_append_dervar_lbmps~~CalledByGraph proc~mus_append_dervar_lbmps mus_append_derVar_lbmPS proc~mus_build_varsys mus_build_varSys proc~mus_build_varsys->proc~mus_append_dervar_lbmps 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 proc~mus_perform_dynloadbal mus_perform_dynLoadBal proc~mus_perform_dynloadbal->proc~mus_init_scheme program~mus_harvesting mus_harvesting program~mus_harvesting->proc~mus_init_scheme program~musubi musubi program~musubi->proc~mus_initialize none~do_balance do_balance none~do_balance->proc~mus_perform_dynloadbal

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: addedPos
logical, private :: wasAdded
character(len=labelLen), private, allocatable:: input_varname(:)
character(len=labelLen), private :: varName
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 :: derVarName_loc