mus_build_varSys Subroutine

public subroutine mus_build_varSys(varSys, solverData, schemeHeader, stencil, nFields, derVarPos, luaVar, field, globSrc, poss_srcVar, st_funList)

Build global variable system for Musubi

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

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

identifier of the scheme

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

Compute stencil header

integer, intent(in) :: nFields

number of fields

type(mus_derVarPos_type), intent(out), allocatable:: derVarPos(:)

store position of each variable for each field and mixture size: nFields+1

type(tem_variable_type), intent(in), allocatable:: luaVar(:)

additional variable defined in the lua file. Function pointer for this variables depends on its varType.

type(mus_field_type), intent(inout) :: field(:)

Field contains sources and boundary infos

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

global source

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

possible source variables

type(tem_st_fun_linkedList_type), intent(out) :: st_funList

contains spacetime functions of all variables


Calls

proc~~mus_build_varsys~~CallsGraph proc~mus_build_varsys mus_build_varSys proc~mus_append_dervar_lbmps mus_append_derVar_lbmPS proc~mus_build_varsys->proc~mus_append_dervar_lbmps proc~mus_store_bcvarpos mus_store_bcVarPos proc~mus_build_varsys->proc~mus_store_bcvarpos proc~mus_append_dervar_fluid mus_append_derVar_fluid proc~mus_build_varsys->proc~mus_append_dervar_fluid proc~mus_append_dervar_msliquid mus_append_derVar_MSLiquid proc~mus_build_varsys->proc~mus_append_dervar_msliquid proc~mus_append_dervar_isotherm_aceq mus_append_derVar_isotherm_acEq proc~mus_build_varsys->proc~mus_append_dervar_isotherm_aceq proc~mus_append_dervar_fluidincomp mus_append_derVar_fluidIncomp proc~mus_build_varsys->proc~mus_append_dervar_fluidincomp proc~tem_varsys_append_meshinfovar tem_varSys_append_meshInfoVar proc~mus_build_varsys->proc~tem_varsys_append_meshinfovar proc~mus_append_materialvar mus_append_materialVar proc~mus_build_varsys->proc~mus_append_materialvar proc~mus_store_dervarpos mus_store_derVarPos proc~mus_build_varsys->proc~mus_store_dervarpos interface~init init proc~mus_build_varsys->interface~init interface~tem_varsys_dump tem_varSys_dump proc~mus_build_varsys->interface~tem_varsys_dump proc~mus_append_sourcevar mus_append_sourceVar proc~mus_build_varsys->proc~mus_append_sourcevar proc~tem_varsys_append_luavar tem_varSys_append_luaVar proc~mus_build_varsys->proc~tem_varsys_append_luavar proc~mus_append_bcvar mus_append_bcVar proc~mus_build_varsys->proc~mus_append_bcvar proc~mus_append_turbvar mus_append_turbVar proc~mus_build_varsys->proc~mus_append_turbvar proc~tem_abort tem_abort proc~mus_build_varsys->proc~tem_abort proc~mus_append_dervar_poisson mus_append_derVar_poisson proc~mus_build_varsys->proc~mus_append_dervar_poisson proc~mus_append_dervar_physics mus_append_derVar_physics proc~mus_build_varsys->proc~mus_append_dervar_physics proc~mus_append_auxfield mus_append_auxField proc~mus_build_varsys->proc~mus_append_auxfield proc~mus_append_dervar_msgas mus_append_derVar_MSGas proc~mus_build_varsys->proc~mus_append_dervar_msgas proc~mus_append_dervar_lbmps->proc~tem_abort 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~mus_store_bcvarpos->proc~tem_abort interface~positionofval positionofval proc~mus_store_bcvarpos->interface~positionofval proc~mus_append_dervar_fluid->proc~tem_varsys_append_dervar proc~mus_append_dervar_fluid->proc~mus_get_new_solver_ptr proc~mus_append_dervar_fluid->interface~append proc~tem_get_new_varsys_data_ptr tem_get_new_varSys_data_ptr proc~mus_append_dervar_fluid->proc~tem_get_new_varsys_data_ptr proc~mus_append_derliquidmixvar mus_append_derLiquidMixVar proc~mus_append_dervar_msliquid->proc~mus_append_derliquidmixvar proc~mus_append_dervar_msliquid->proc~tem_varsys_append_dervar proc~mus_append_dervar_msliquid->proc~mus_get_new_solver_ptr proc~mus_append_dermixvar_ms mus_append_derMixVar_MS proc~mus_append_dervar_msliquid->proc~mus_append_dermixvar_ms proc~mus_append_dervar_msliquid->interface~append proc~mus_append_dervar_msliquid->proc~tem_get_new_varsys_data_ptr proc~mus_append_dervar_isotherm_aceq->proc~tem_varsys_append_dervar proc~mus_append_dervar_isotherm_aceq->proc~mus_get_new_solver_ptr proc~mus_append_dervar_isotherm_aceq->interface~append proc~mus_append_dervar_fluidincomp->proc~tem_varsys_append_dervar proc~mus_append_dervar_fluidincomp->proc~mus_get_new_solver_ptr proc~mus_append_dervar_fluidincomp->interface~append proc~mus_append_dervar_fluidincomp->proc~tem_get_new_varsys_data_ptr proc~mus_append_materialvar->proc~tem_abort proc~mus_append_materialvar->proc~tem_varsys_append_dervar proc~mus_append_materialvar->proc~mus_get_new_solver_ptr proc~mus_append_materialvar->interface~append proc~mus_store_dervarpos->interface~positionofval proc~mus_append_sourcevar->interface~tem_varsys_dump proc~mus_append_sourcevar->proc~tem_abort proc~mus_append_sourcevar->interface~positionofval proc~mus_append_sourcevar->proc~tem_varsys_append_dervar proc~mus_append_sourcevar->proc~mus_get_new_solver_ptr interface~init~3 init proc~mus_append_bcvar->interface~init~3 interface~append~4 append proc~mus_append_bcvar->interface~append~4 proc~mus_append_bcvar->proc~tem_varsys_append_dervar proc~mus_append_bcvar->proc~mus_get_new_solver_ptr proc~mus_append_turbvar->proc~tem_abort proc~mus_append_turbvar->proc~tem_varsys_append_dervar proc~mus_append_turbvar->proc~mus_get_new_solver_ptr proc~mus_append_turbvar->interface~append proc~mus_append_dervar_poisson->proc~tem_varsys_append_dervar proc~mus_append_dervar_poisson->proc~mus_get_new_solver_ptr proc~mus_append_dervar_poisson->interface~append proc~mus_append_dervar_physics->proc~tem_abort proc~mus_append_dervar_physics->interface~positionofval proc~mus_append_dervar_physics->proc~tem_varsys_append_dervar proc~mus_append_dervar_physics->proc~mus_get_new_solver_ptr proc~mus_append_auxfield->proc~tem_abort proc~tem_varsys_append_auxfieldvar tem_varSys_append_auxFieldVar proc~mus_append_auxfield->proc~tem_varsys_append_auxfieldvar proc~mus_append_auxfield->proc~mus_get_new_solver_ptr proc~mus_append_auxfield->interface~append proc~mus_append_dervar_msgas->proc~tem_varsys_append_dervar proc~mus_append_dervar_msgas->proc~mus_get_new_solver_ptr proc~mus_append_dervar_msgas->proc~mus_append_dermixvar_ms proc~mus_append_dervar_msgas->interface~append proc~mus_append_dervar_msgas->proc~tem_get_new_varsys_data_ptr proc~mus_append_derliquidmixvar->interface~positionofval proc~mus_append_derliquidmixvar->proc~tem_varsys_append_dervar proc~mus_append_derliquidmixvar->proc~mus_get_new_solver_ptr proc~mus_append_derliquidmixvar->interface~append proc~mus_append_dermixvar_ms->proc~tem_abort proc~mus_append_dermixvar_ms->interface~positionofval proc~mus_append_dermixvar_ms->proc~tem_varsys_append_dervar proc~mus_append_dermixvar_ms->proc~mus_get_new_solver_ptr proc~mus_append_dermixvar_ms->proc~tem_get_new_varsys_data_ptr

Called by

proc~~mus_build_varsys~~CalledByGraph proc~mus_build_varsys mus_build_varSys 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 proc~mus_solve mus_solve proc~mus_solve->none~do_balance

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: nVars
integer, private :: iField
integer, private :: iWave
integer, private :: iDerVP
type(grw_labelarray_type), private :: derVarName
type(tem_varSys_solverData_evalElem_type), private :: solverData_evalElem