Skip to content
Snippets Groups Projects
Commit f86aadfb authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[PL/O] Rename parseSecondary to createSecondary.

parent 92770316
No related branches found
No related tags found
No related merge requests found
Showing
with 57 additions and 56 deletions
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include "MaterialLib/Fluid/FluidProperties/CreateFluidProperties.h" #include "MaterialLib/Fluid/FluidProperties/CreateFluidProperties.h"
#include "MaterialLib/PorousMedium/CreatePorousMediaProperties.h" #include "MaterialLib/PorousMedium/CreatePorousMediaProperties.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "ProcessLib/Parameter/ConstantParameter.h" #include "ProcessLib/Parameter/ConstantParameter.h"
#include "ProcessLib/Utils/ProcessUtils.h" #include "ProcessLib/Utils/ProcessUtils.h"
...@@ -162,8 +162,8 @@ std::unique_ptr<Process> createComponentTransportProcess( ...@@ -162,8 +162,8 @@ std::unique_ptr<Process> createComponentTransportProcess(
NumLib::NamedFunctionCaller named_function_caller( NumLib::NamedFunctionCaller named_function_caller(
{"ComponentTransport_concentration_pressure"}); {"ComponentTransport_concentration_pressure"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
return std::make_unique<ComponentTransportProcess>( return std::make_unique<ComponentTransportProcess>(
mesh, std::move(jacobian_assembler), parameters, integration_order, mesh, std::move(jacobian_assembler), parameters, integration_order,
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include "GroundwaterFlowProcess.h" #include "GroundwaterFlowProcess.h"
#include "GroundwaterFlowProcessData.h" #include "GroundwaterFlowProcessData.h"
#include "ProcessLib/CalculateSurfaceFlux/ParseCalculateSurfaceFluxData.h" #include "ProcessLib/CalculateSurfaceFlux/ParseCalculateSurfaceFluxData.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "ProcessLib/Utils/ProcessUtils.h" #include "ProcessLib/Utils/ProcessUtils.h"
#include "MeshLib/IO/readMeshFromFile.h" #include "MeshLib/IO/readMeshFromFile.h"
...@@ -67,8 +67,8 @@ std::unique_ptr<Process> createGroundwaterFlowProcess( ...@@ -67,8 +67,8 @@ std::unique_ptr<Process> createGroundwaterFlowProcess(
NumLib::NamedFunctionCaller named_function_caller( NumLib::NamedFunctionCaller named_function_caller(
{"GWFlow_pressure"}); {"GWFlow_pressure"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
std::string mesh_name; std::string mesh_name;
std::string balance_pv_name; std::string balance_pv_name;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include "MaterialLib/Fluid/FluidProperties/CreateFluidProperties.h" #include "MaterialLib/Fluid/FluidProperties/CreateFluidProperties.h"
#include "MaterialLib/PorousMedium/CreatePorousMediaProperties.h" #include "MaterialLib/PorousMedium/CreatePorousMediaProperties.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "ProcessLib/Parameter/ConstantParameter.h" #include "ProcessLib/Parameter/ConstantParameter.h"
#include "ProcessLib/Utils/ProcessUtils.h" #include "ProcessLib/Utils/ProcessUtils.h"
...@@ -216,8 +216,8 @@ std::unique_ptr<Process> createHTProcess( ...@@ -216,8 +216,8 @@ std::unique_ptr<Process> createHTProcess(
NumLib::NamedFunctionCaller named_function_caller( NumLib::NamedFunctionCaller named_function_caller(
{"HT_temperature_pressure"}); {"HT_temperature_pressure"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
return std::make_unique<HTProcess>( return std::make_unique<HTProcess>(
mesh, std::move(jacobian_assembler), parameters, integration_order, mesh, std::move(jacobian_assembler), parameters, integration_order,
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include "HeatConductionProcess.h" #include "HeatConductionProcess.h"
#include "HeatConductionProcessData.h" #include "HeatConductionProcessData.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "ProcessLib/Utils/ProcessUtils.h" #include "ProcessLib/Utils/ProcessUtils.h"
namespace ProcessLib namespace ProcessLib
...@@ -77,8 +77,8 @@ std::unique_ptr<Process> createHeatConductionProcess( ...@@ -77,8 +77,8 @@ std::unique_ptr<Process> createHeatConductionProcess(
NumLib::NamedFunctionCaller named_function_caller( NumLib::NamedFunctionCaller named_function_caller(
{"HeatConduction_temperature"}); {"HeatConduction_temperature"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
return std::make_unique<HeatConductionProcess>( return std::make_unique<HeatConductionProcess>(
mesh, std::move(jacobian_assembler), parameters, integration_order, mesh, std::move(jacobian_assembler), parameters, integration_order,
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <cassert> #include <cassert>
#include "MaterialLib/SolidModels/CreateLinearElasticIsotropic.h" #include "MaterialLib/SolidModels/CreateLinearElasticIsotropic.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "HydroMechanicsProcess.h" #include "HydroMechanicsProcess.h"
#include "HydroMechanicsProcessData.h" #include "HydroMechanicsProcessData.h"
...@@ -212,8 +212,8 @@ std::unique_ptr<Process> createHydroMechanicsProcess( ...@@ -212,8 +212,8 @@ std::unique_ptr<Process> createHydroMechanicsProcess(
NumLib::NamedFunctionCaller named_function_caller( NumLib::NamedFunctionCaller named_function_caller(
{"HydroMechanics_displacement"}); {"HydroMechanics_displacement"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
return std::make_unique<HydroMechanicsProcess<DisplacementDim>>( return std::make_unique<HydroMechanicsProcess<DisplacementDim>>(
mesh, std::move(jacobian_assembler), parameters, integration_order, mesh, std::move(jacobian_assembler), parameters, integration_order,
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include "MaterialLib/FractureModels/CreateMohrCoulomb.h" #include "MaterialLib/FractureModels/CreateMohrCoulomb.h"
#include "MaterialLib/SolidModels/CreateLinearElasticIsotropic.h" #include "MaterialLib/SolidModels/CreateLinearElasticIsotropic.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "ProcessLib/Utils/ProcessUtils.h" // required for findParameter #include "ProcessLib/Utils/ProcessUtils.h" // required for findParameter
#include "HydroMechanicsProcess.h" #include "HydroMechanicsProcess.h"
...@@ -328,8 +328,8 @@ std::unique_ptr<Process> createHydroMechanicsProcess( ...@@ -328,8 +328,8 @@ std::unique_ptr<Process> createHydroMechanicsProcess(
NumLib::NamedFunctionCaller named_function_caller( NumLib::NamedFunctionCaller named_function_caller(
{"HydroMechanics_displacement"}); {"HydroMechanics_displacement"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
return std::make_unique<HydroMechanicsProcess<GlobalDim>>( return std::make_unique<HydroMechanicsProcess<GlobalDim>>(
mesh, std::move(jacobian_assembler), parameters, integration_order, mesh, std::move(jacobian_assembler), parameters, integration_order,
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include "MaterialLib/FractureModels/CreateMohrCoulomb.h" #include "MaterialLib/FractureModels/CreateMohrCoulomb.h"
#include "MaterialLib/SolidModels/CreateLinearElasticIsotropic.h" #include "MaterialLib/SolidModels/CreateLinearElasticIsotropic.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "ProcessLib/Utils/ProcessUtils.h" // required for findParameter #include "ProcessLib/Utils/ProcessUtils.h" // required for findParameter
#include "SmallDeformationProcess.h" #include "SmallDeformationProcess.h"
...@@ -189,8 +189,8 @@ std::unique_ptr<Process> createSmallDeformationProcess( ...@@ -189,8 +189,8 @@ std::unique_ptr<Process> createSmallDeformationProcess(
NumLib::NamedFunctionCaller named_function_caller( NumLib::NamedFunctionCaller named_function_caller(
{"SmallDeformation_displacement"}); {"SmallDeformation_displacement"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
return std::make_unique<SmallDeformationProcess<DisplacementDim>>( return std::make_unique<SmallDeformationProcess<DisplacementDim>>(
mesh, std::move(jacobian_assembler), parameters, integration_order, mesh, std::move(jacobian_assembler), parameters, integration_order,
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include "MeshLib/MeshGenerators/MeshGenerator.h" #include "MeshLib/MeshGenerators/MeshGenerator.h"
#include "MaterialLib/PhysicalConstant.h" #include "MaterialLib/PhysicalConstant.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "ProcessLib/Utils/ProcessUtils.h" #include "ProcessLib/Utils/ProcessUtils.h"
#include "LiquidFlowProcess.h" #include "LiquidFlowProcess.h"
...@@ -55,8 +55,8 @@ std::unique_ptr<Process> createLiquidFlowProcess( ...@@ -55,8 +55,8 @@ std::unique_ptr<Process> createLiquidFlowProcess(
NumLib::NamedFunctionCaller named_function_caller({"LiquidFlow_pressure"}); NumLib::NamedFunctionCaller named_function_caller({"LiquidFlow_pressure"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
// Get the gravity vector for the Darcy velocity // Get the gravity vector for the Darcy velocity
//! \ogs_file_param{prj__processes__process__LIQUID_FLOW__darcy_gravity} //! \ogs_file_param{prj__processes__process__LIQUID_FLOW__darcy_gravity}
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
*/ */
#include "ParseSecondaryVariables.h" #include "CreateSecondaryVariables.h"
#include "BaseLib/ConfigTree.h" #include "BaseLib/ConfigTree.h"
#include "NumLib/NamedFunctionCaller.h" #include "NumLib/NamedFunctionCaller.h"
...@@ -16,9 +16,10 @@ ...@@ -16,9 +16,10 @@
namespace ProcessLib namespace ProcessLib
{ {
void parseSecondaryVariables(BaseLib::ConfigTree const& config, void createSecondaryVariables(
SecondaryVariableCollection& secondary_variables, BaseLib::ConfigTree const& config,
NumLib::NamedFunctionCaller& named_function_caller) SecondaryVariableCollection& secondary_variables,
NumLib::NamedFunctionCaller& named_function_caller)
{ {
auto sec_vars_config = auto sec_vars_config =
//! \ogs_file_param{prj__processes__process__secondary_variables} //! \ogs_file_param{prj__processes__process__secondary_variables}
......
...@@ -24,7 +24,7 @@ class NamedFunctionCaller; ...@@ -24,7 +24,7 @@ class NamedFunctionCaller;
namespace ProcessLib namespace ProcessLib
{ {
void parseSecondaryVariables( void createSecondaryVariables(
BaseLib::ConfigTree const& config, BaseLib::ConfigTree const& config,
SecondaryVariableCollection& secondary_variables, SecondaryVariableCollection& secondary_variables,
NumLib::NamedFunctionCaller& named_function_caller); NumLib::NamedFunctionCaller& named_function_caller);
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include "MaterialLib/SolidModels/CreateLinearElasticIsotropic.h" #include "MaterialLib/SolidModels/CreateLinearElasticIsotropic.h"
#include "MaterialLib/SolidModels/LinearElasticIsotropicPhaseField.h" #include "MaterialLib/SolidModels/LinearElasticIsotropicPhaseField.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "PhaseFieldProcess.h" #include "PhaseFieldProcess.h"
#include "PhaseFieldProcessData.h" #include "PhaseFieldProcessData.h"
...@@ -201,8 +201,8 @@ std::unique_ptr<Process> createPhaseFieldProcess( ...@@ -201,8 +201,8 @@ std::unique_ptr<Process> createPhaseFieldProcess(
NumLib::NamedFunctionCaller named_function_caller( NumLib::NamedFunctionCaller named_function_caller(
{"PhaseField_displacement"}); {"PhaseField_displacement"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
return std::make_unique<PhaseFieldProcess<DisplacementDim>>( return std::make_unique<PhaseFieldProcess<DisplacementDim>>(
mesh, std::move(jacobian_assembler), parameters, integration_order, mesh, std::move(jacobian_assembler), parameters, integration_order,
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include "MaterialLib/Fluid/FluidProperties/CreateFluidProperties.h" #include "MaterialLib/Fluid/FluidProperties/CreateFluidProperties.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "ProcessLib/Parameter/ConstantParameter.h" #include "ProcessLib/Parameter/ConstantParameter.h"
#include "ProcessLib/Utils/ProcessUtils.h" #include "ProcessLib/Utils/ProcessUtils.h"
...@@ -162,8 +162,8 @@ std::unique_ptr<Process> createRichardsComponentTransportProcess( ...@@ -162,8 +162,8 @@ std::unique_ptr<Process> createRichardsComponentTransportProcess(
NumLib::NamedFunctionCaller named_function_caller( NumLib::NamedFunctionCaller named_function_caller(
{"RichardsComponentTransport_concentration_pressure"}); {"RichardsComponentTransport_concentration_pressure"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
return std::make_unique<RichardsComponentTransportProcess>( return std::make_unique<RichardsComponentTransportProcess>(
mesh, std::move(jacobian_assembler), parameters, integration_order, mesh, std::move(jacobian_assembler), parameters, integration_order,
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include "CreateRichardsFlowProcess.h" #include "CreateRichardsFlowProcess.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "ProcessLib/Parameter/ConstantParameter.h" #include "ProcessLib/Parameter/ConstantParameter.h"
#include "ProcessLib/Utils/ProcessUtils.h" #include "ProcessLib/Utils/ProcessUtils.h"
...@@ -55,8 +55,8 @@ std::unique_ptr<Process> createRichardsFlowProcess( ...@@ -55,8 +55,8 @@ std::unique_ptr<Process> createRichardsFlowProcess(
NumLib::NamedFunctionCaller named_function_caller( NumLib::NamedFunctionCaller named_function_caller(
{"RichardsFlow_pressure"}); {"RichardsFlow_pressure"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
// Specific body force // Specific body force
std::vector<double> const b = std::vector<double> const b =
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "MaterialLib/SolidModels/CreateEhlers.h" #include "MaterialLib/SolidModels/CreateEhlers.h"
#include "MaterialLib/SolidModels/CreateLinearElasticIsotropic.h" #include "MaterialLib/SolidModels/CreateLinearElasticIsotropic.h"
#include "MaterialLib/SolidModels/CreateLubby2.h" #include "MaterialLib/SolidModels/CreateLubby2.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "SmallDeformationProcess.h" #include "SmallDeformationProcess.h"
#include "SmallDeformationProcessData.h" #include "SmallDeformationProcessData.h"
...@@ -132,8 +132,8 @@ createSmallDeformationProcess( ...@@ -132,8 +132,8 @@ createSmallDeformationProcess(
NumLib::NamedFunctionCaller named_function_caller( NumLib::NamedFunctionCaller named_function_caller(
{"SmallDeformation_displacement"}); {"SmallDeformation_displacement"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
return std::make_unique<SmallDeformationProcess<DisplacementDim>>( return std::make_unique<SmallDeformationProcess<DisplacementDim>>(
mesh, std::move(jacobian_assembler), parameters, integration_order, mesh, std::move(jacobian_assembler), parameters, integration_order,
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
*/ */
#include "CreateTESProcess.h" #include "CreateTESProcess.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "ProcessLib/Utils/ProcessUtils.h" #include "ProcessLib/Utils/ProcessUtils.h"
#include "TESProcess.h" #include "TESProcess.h"
...@@ -50,8 +50,8 @@ std::unique_ptr<Process> createTESProcess( ...@@ -50,8 +50,8 @@ std::unique_ptr<Process> createTESProcess(
NumLib::NamedFunctionCaller named_function_caller( NumLib::NamedFunctionCaller named_function_caller(
{"TES_pressure", "TES_temperature", "TES_vapour_mass_fraction"}); {"TES_pressure", "TES_temperature", "TES_vapour_mass_fraction"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
return std::make_unique<TESProcess>( return std::make_unique<TESProcess>(
mesh, std::move(jacobian_assembler), parameters, integration_order, mesh, std::move(jacobian_assembler), parameters, integration_order,
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include "BaseLib/Functional.h" #include "BaseLib/Functional.h"
#include "MeshLib/MeshGenerators/MeshGenerator.h" #include "MeshLib/MeshGenerators/MeshGenerator.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "ProcessLib/Parameter/ConstantParameter.h" #include "ProcessLib/Parameter/ConstantParameter.h"
#include "ProcessLib/ThermalTwoPhaseFlowWithPP/CreateThermalTwoPhaseFlowWithPPMaterialProperties.h" #include "ProcessLib/ThermalTwoPhaseFlowWithPP/CreateThermalTwoPhaseFlowWithPPMaterialProperties.h"
#include "ProcessLib/ThermalTwoPhaseFlowWithPP/ThermalTwoPhaseFlowWithPPMaterialProperties.h" #include "ProcessLib/ThermalTwoPhaseFlowWithPP/ThermalTwoPhaseFlowWithPPMaterialProperties.h"
...@@ -60,8 +60,8 @@ std::unique_ptr<Process> createThermalTwoPhaseFlowWithPPProcess( ...@@ -60,8 +60,8 @@ std::unique_ptr<Process> createThermalTwoPhaseFlowWithPPProcess(
NumLib::NamedFunctionCaller named_function_caller( NumLib::NamedFunctionCaller named_function_caller(
{"TwoPhaseFlow_pressure"}); {"TwoPhaseFlow_pressure"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
// Specific body force // Specific body force
std::vector<double> const b = std::vector<double> const b =
//! \ogs_file_param{prj__processes__process__TWOPHASE_FLOW_THERMAL__specific_body_force} //! \ogs_file_param{prj__processes__process__TWOPHASE_FLOW_THERMAL__specific_body_force}
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "MaterialLib/SolidModels/CreateEhlers.h" #include "MaterialLib/SolidModels/CreateEhlers.h"
#include "MaterialLib/SolidModels/CreateLinearElasticIsotropic.h" #include "MaterialLib/SolidModels/CreateLinearElasticIsotropic.h"
#include "MaterialLib/SolidModels/CreateLubby2.h" #include "MaterialLib/SolidModels/CreateLubby2.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "ThermoMechanicsProcess.h" #include "ThermoMechanicsProcess.h"
#include "ThermoMechanicsProcessData.h" #include "ThermoMechanicsProcessData.h"
...@@ -200,8 +200,8 @@ std::unique_ptr<Process> createThermoMechanicsProcess( ...@@ -200,8 +200,8 @@ std::unique_ptr<Process> createThermoMechanicsProcess(
NumLib::NamedFunctionCaller named_function_caller( NumLib::NamedFunctionCaller named_function_caller(
{"ThermoMechanics_temperature_displacement"}); {"ThermoMechanics_temperature_displacement"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
return std::make_unique<ThermoMechanicsProcess<DisplacementDim>>( return std::make_unique<ThermoMechanicsProcess<DisplacementDim>>(
mesh, std::move(jacobian_assembler), parameters, integration_order, mesh, std::move(jacobian_assembler), parameters, integration_order,
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <cassert> #include <cassert>
#include "MeshLib/MeshGenerators/MeshGenerator.h" #include "MeshLib/MeshGenerators/MeshGenerator.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "ProcessLib/Parameter/ConstantParameter.h" #include "ProcessLib/Parameter/ConstantParameter.h"
#include "ProcessLib/Utils/ProcessUtils.h" #include "ProcessLib/Utils/ProcessUtils.h"
...@@ -55,8 +55,8 @@ std::unique_ptr<Process> createTwoPhaseFlowWithPPProcess( ...@@ -55,8 +55,8 @@ std::unique_ptr<Process> createTwoPhaseFlowWithPPProcess(
NumLib::NamedFunctionCaller named_function_caller( NumLib::NamedFunctionCaller named_function_caller(
{"TwoPhaseFlow_pressure"}); {"TwoPhaseFlow_pressure"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
// Specific body force // Specific body force
std::vector<double> const b = std::vector<double> const b =
//! \ogs_file_param{prj__processes__process__TWOPHASE_FLOW_PP__specific_body_force} //! \ogs_file_param{prj__processes__process__TWOPHASE_FLOW_PP__specific_body_force}
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <cassert> #include <cassert>
#include "BaseLib/Functional.h" #include "BaseLib/Functional.h"
#include "MeshLib/MeshGenerators/MeshGenerator.h" #include "MeshLib/MeshGenerators/MeshGenerator.h"
#include "ProcessLib/Output/ParseSecondaryVariables.h" #include "ProcessLib/Output/CreateSecondaryVariables.h"
#include "ProcessLib/Parameter/ConstantParameter.h" #include "ProcessLib/Parameter/ConstantParameter.h"
#include "ProcessLib/TwoPhaseFlowWithPrho/CreateTwoPhaseFlowPrhoMaterialProperties.h" #include "ProcessLib/TwoPhaseFlowWithPrho/CreateTwoPhaseFlowPrhoMaterialProperties.h"
#include "ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoMaterialProperties.h" #include "ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoMaterialProperties.h"
...@@ -55,8 +55,8 @@ std::unique_ptr<Process> createTwoPhaseFlowWithPrhoProcess( ...@@ -55,8 +55,8 @@ std::unique_ptr<Process> createTwoPhaseFlowWithPrhoProcess(
NumLib::NamedFunctionCaller named_function_caller( NumLib::NamedFunctionCaller named_function_caller(
{"TwoPhaseFlow_pressure"}); {"TwoPhaseFlow_pressure"});
ProcessLib::parseSecondaryVariables(config, secondary_variables, ProcessLib::createSecondaryVariables(config, secondary_variables,
named_function_caller); named_function_caller);
// Specific body force // Specific body force
std::vector<double> const b = std::vector<double> const b =
//! \ogs_file_param{prj__processes__process__TWOPHASE_FLOW_PRHO__specific_body_force} //! \ogs_file_param{prj__processes__process__TWOPHASE_FLOW_PRHO__specific_body_force}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment