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

Type IntentOptional Attributes Name
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 init init proc~mus_build_varsys->init proc~mus_append_auxfield mus_append_auxField proc~mus_build_varsys->proc~mus_append_auxfield proc~mus_append_bcvar mus_append_bcVar proc~mus_build_varsys->proc~mus_append_bcvar proc~mus_append_dervar_fluid mus_append_derVar_fluid proc~mus_build_varsys->proc~mus_append_dervar_fluid proc~mus_append_dervar_fluidincomp mus_append_derVar_fluidIncomp proc~mus_build_varsys->proc~mus_append_dervar_fluidincomp 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_lbmps mus_append_derVar_lbmPS proc~mus_build_varsys->proc~mus_append_dervar_lbmps proc~mus_append_dervar_msgas mus_append_derVar_MSGas proc~mus_build_varsys->proc~mus_append_dervar_msgas proc~mus_append_dervar_msliquid mus_append_derVar_MSLiquid proc~mus_build_varsys->proc~mus_append_dervar_msliquid proc~mus_append_dervar_physics mus_append_derVar_physics proc~mus_build_varsys->proc~mus_append_dervar_physics proc~mus_append_dervar_poisson mus_append_derVar_poisson proc~mus_build_varsys->proc~mus_append_dervar_poisson proc~mus_append_materialvar mus_append_materialVar proc~mus_build_varsys->proc~mus_append_materialvar proc~mus_append_sourcevar mus_append_sourceVar proc~mus_build_varsys->proc~mus_append_sourcevar proc~mus_append_turbvar mus_append_turbVar proc~mus_build_varsys->proc~mus_append_turbvar proc~mus_store_bcvarpos mus_store_bcVarPos proc~mus_build_varsys->proc~mus_store_bcvarpos proc~mus_store_dervarpos mus_store_derVarPos proc~mus_build_varsys->proc~mus_store_dervarpos tem_abort tem_abort proc~mus_build_varsys->tem_abort tem_varSys_append_luaVar tem_varSys_append_luaVar proc~mus_build_varsys->tem_varSys_append_luaVar tem_varSys_append_meshInfoVar tem_varSys_append_meshInfoVar proc~mus_build_varsys->tem_varSys_append_meshInfoVar tem_varSys_dump tem_varSys_dump proc~mus_build_varsys->tem_varSys_dump proc~mus_append_auxfield->tem_abort append append proc~mus_append_auxfield->append proc~mus_get_new_solver_ptr mus_get_new_solver_ptr proc~mus_append_auxfield->proc~mus_get_new_solver_ptr tem_varSys_append_auxFieldVar tem_varSys_append_auxFieldVar proc~mus_append_auxfield->tem_varSys_append_auxFieldVar proc~mus_append_bcvar->init proc~mus_append_bcvar->append proc~mus_append_bcvar->proc~mus_get_new_solver_ptr tem_varSys_append_derVar tem_varSys_append_derVar proc~mus_append_bcvar->tem_varSys_append_derVar proc~mus_append_dervar_fluid->append proc~mus_append_dervar_fluid->proc~mus_get_new_solver_ptr tem_get_new_varSys_data_ptr tem_get_new_varSys_data_ptr proc~mus_append_dervar_fluid->tem_get_new_varSys_data_ptr proc~mus_append_dervar_fluid->tem_varSys_append_derVar proc~mus_append_dervar_fluidincomp->append proc~mus_append_dervar_fluidincomp->proc~mus_get_new_solver_ptr proc~mus_append_dervar_fluidincomp->tem_get_new_varSys_data_ptr proc~mus_append_dervar_fluidincomp->tem_varSys_append_derVar proc~mus_append_dervar_isotherm_aceq->append proc~mus_append_dervar_isotherm_aceq->proc~mus_get_new_solver_ptr proc~mus_append_dervar_isotherm_aceq->tem_varSys_append_derVar proc~mus_append_dervar_lbmps->tem_abort proc~mus_append_dervar_lbmps->append proc~mus_append_dervar_lbmps->proc~mus_get_new_solver_ptr proc~mus_append_dervar_lbmps->tem_varSys_append_derVar proc~mus_append_dervar_msgas->append proc~mus_append_dermixvar_ms mus_append_derMixVar_MS proc~mus_append_dervar_msgas->proc~mus_append_dermixvar_ms proc~mus_append_dervar_msgas->proc~mus_get_new_solver_ptr proc~mus_append_dervar_msgas->tem_get_new_varSys_data_ptr proc~mus_append_dervar_msgas->tem_varSys_append_derVar proc~mus_append_dervar_msliquid->append proc~mus_append_derliquidmixvar mus_append_derLiquidMixVar proc~mus_append_dervar_msliquid->proc~mus_append_derliquidmixvar proc~mus_append_dervar_msliquid->proc~mus_append_dermixvar_ms proc~mus_append_dervar_msliquid->proc~mus_get_new_solver_ptr proc~mus_append_dervar_msliquid->tem_get_new_varSys_data_ptr proc~mus_append_dervar_msliquid->tem_varSys_append_derVar proc~mus_append_dervar_physics->tem_abort positionofval positionofval proc~mus_append_dervar_physics->positionofval proc~mus_append_dervar_physics->proc~mus_get_new_solver_ptr proc~mus_append_dervar_physics->tem_varSys_append_derVar proc~mus_append_dervar_poisson->append proc~mus_append_dervar_poisson->proc~mus_get_new_solver_ptr proc~mus_append_dervar_poisson->tem_varSys_append_derVar proc~mus_append_materialvar->tem_abort proc~mus_append_materialvar->append proc~mus_append_materialvar->proc~mus_get_new_solver_ptr proc~mus_append_materialvar->tem_varSys_append_derVar proc~mus_append_sourcevar->tem_abort proc~mus_append_sourcevar->tem_varSys_dump input_varpos input_varpos proc~mus_append_sourcevar->input_varpos proc~mus_append_sourcevar->positionofval proc~mus_append_sourcevar->proc~mus_get_new_solver_ptr proc~mus_append_sourcevar->tem_varSys_append_derVar val val proc~mus_append_sourcevar->val proc~mus_append_turbvar->tem_abort proc~mus_append_turbvar->append proc~mus_append_turbvar->proc~mus_get_new_solver_ptr proc~mus_append_turbvar->tem_varSys_append_derVar proc~mus_store_bcvarpos->tem_abort proc~mus_store_bcvarpos->positionofval proc~mus_store_bcvarpos->val proc~mus_store_dervarpos->positionofval proc~mus_append_derliquidmixvar->append proc~mus_append_derliquidmixvar->positionofval proc~mus_append_derliquidmixvar->proc~mus_get_new_solver_ptr proc~mus_append_derliquidmixvar->tem_varSys_append_derVar proc~mus_append_dermixvar_ms->tem_abort proc~mus_append_dermixvar_ms->positionofval proc~mus_append_dermixvar_ms->proc~mus_get_new_solver_ptr proc~mus_append_dermixvar_ms->tem_get_new_varSys_data_ptr proc~mus_append_dermixvar_ms->tem_varSys_append_derVar

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 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 proc~mus_solve mus_solve proc~mus_solve->proc~mus_perform_dynloadbal program~musubi musubi program~musubi->proc~mus_initialize program~musubi->proc~mus_solve