mus_get_new_solver_ptr Function

public function mus_get_new_solver_ptr(solver) result(resPtr)

Routine to get a pointer to a new instance of mus_varSys_solverData_type to be used as method data for a variable in the variable system.

A new instance is allocated and a c_ptr to this type is returned. Be aware that local pointer are not automatically deallocated when leaving the routine

TODO init the point arrays

Arguments

TypeIntentOptionalAttributesName
type(mus_varSys_solverData_type), intent(in), optional target:: solver

The prototype is used to initialize the new instance.

Return Value type(c_ptr)

Pointer to the newly created instance.


Called by

proc~~mus_get_new_solver_ptr~~CalledByGraph proc~mus_get_new_solver_ptr mus_get_new_solver_ptr proc~mus_append_dervar_isotherm_aceq mus_append_derVar_isotherm_acEq proc~mus_append_dervar_isotherm_aceq->proc~mus_get_new_solver_ptr proc~mus_append_materialvar mus_append_materialVar proc~mus_append_materialvar->proc~mus_get_new_solver_ptr proc~mus_append_dervar_fluid mus_append_derVar_fluid proc~mus_append_dervar_fluid->proc~mus_get_new_solver_ptr proc~mus_append_dervar_poisson mus_append_derVar_poisson proc~mus_append_dervar_poisson->proc~mus_get_new_solver_ptr proc~mus_append_readvarasstatevar mus_append_readVarAsStateVar proc~mus_append_readvarasstatevar->proc~mus_get_new_solver_ptr proc~mus_append_dermixvar_ms mus_append_derMixVar_MS proc~mus_append_dermixvar_ms->proc~mus_get_new_solver_ptr proc~mus_append_dervar_msliquid mus_append_derVar_MSLiquid proc~mus_append_dervar_msliquid->proc~mus_get_new_solver_ptr proc~mus_append_dervar_msliquid->proc~mus_append_dermixvar_ms proc~mus_append_derliquidmixvar mus_append_derLiquidMixVar proc~mus_append_dervar_msliquid->proc~mus_append_derliquidmixvar proc~mus_append_dervar_physics mus_append_derVar_physics proc~mus_append_dervar_physics->proc~mus_get_new_solver_ptr proc~mus_append_statevar mus_append_stateVar proc~mus_append_statevar->proc~mus_get_new_solver_ptr proc~mus_append_sourcevar mus_append_sourceVar proc~mus_append_sourcevar->proc~mus_get_new_solver_ptr proc~mus_append_turbvar mus_append_turbVar proc~mus_append_turbvar->proc~mus_get_new_solver_ptr proc~mus_append_dervar_fluidincomp mus_append_derVar_fluidIncomp proc~mus_append_dervar_fluidincomp->proc~mus_get_new_solver_ptr proc~mus_set_opvar_getelement mus_set_opVar_getElement proc~mus_set_opvar_getelement->proc~mus_get_new_solver_ptr proc~mus_append_auxfield mus_append_auxField proc~mus_append_auxfield->proc~mus_get_new_solver_ptr proc~mus_append_dervar_lbmps mus_append_derVar_lbmPS proc~mus_append_dervar_lbmps->proc~mus_get_new_solver_ptr proc~mus_set_stfun_getelement mus_set_stFun_getElement proc~mus_set_stfun_getelement->proc~mus_get_new_solver_ptr proc~mus_append_dervar_msgas mus_append_derVar_MSGas proc~mus_append_dervar_msgas->proc~mus_get_new_solver_ptr proc~mus_append_dervar_msgas->proc~mus_append_dermixvar_ms proc~mus_append_derliquidmixvar->proc~mus_get_new_solver_ptr proc~mus_load_scheme mus_load_scheme proc~mus_load_scheme->proc~mus_append_readvarasstatevar proc~mus_load_scheme->proc~mus_append_statevar proc~mus_build_varsys mus_build_varSys proc~mus_build_varsys->proc~mus_append_dervar_isotherm_aceq proc~mus_build_varsys->proc~mus_append_materialvar proc~mus_build_varsys->proc~mus_append_dervar_fluid proc~mus_build_varsys->proc~mus_append_dervar_poisson proc~mus_build_varsys->proc~mus_append_dervar_msliquid proc~mus_build_varsys->proc~mus_append_dervar_physics proc~mus_build_varsys->proc~mus_append_sourcevar proc~mus_build_varsys->proc~mus_append_turbvar proc~mus_build_varsys->proc~mus_append_dervar_fluidincomp proc~mus_build_varsys->proc~mus_append_auxfield proc~mus_build_varsys->proc~mus_append_dervar_lbmps proc~mus_build_varsys->proc~mus_append_dervar_msgas proc~mus_init_scheme mus_init_scheme proc~mus_init_scheme->proc~mus_build_varsys 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 proc~mus_hvs_config_load mus_hvs_config_load proc~mus_hvs_config_load->proc~mus_hvs_load_solverdata 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_initialize mus_initialize proc~mus_initialize->proc~mus_init_scheme program~musubi musubi program~musubi->proc~mus_load_config

Contents


Variables

TypeVisibilityAttributesNameInitial
type(mus_varSys_data_type), private, pointer:: res

Local variable to allocate a new instance.