Skip to content
Snippets Groups Projects
Commit 1cb8340e authored by wenqing's avatar wenqing
Browse files

[Process/TRM] Added it to the compilation list

parent 753da562
No related branches found
No related tags found
No related merge requests found
...@@ -73,6 +73,11 @@ ...@@ -73,6 +73,11 @@
#ifdef OGS_BUILD_PROCESS_LIQUIDFLOW #ifdef OGS_BUILD_PROCESS_LIQUIDFLOW
#include "ProcessLib/LiquidFlow/CreateLiquidFlowProcess.h" #include "ProcessLib/LiquidFlow/CreateLiquidFlowProcess.h"
#endif #endif
#ifdef OGS_BUILD_PROCESS_THERMORICHARDSMECHANICS
#include "ProcessLib/ThermoRichardsMechanics/CreateThermoRichardsMechanicsProcess.h"
#endif
#ifdef OGS_BUILD_PROCESS_PHASEFIELD #ifdef OGS_BUILD_PROCESS_PHASEFIELD
#include "ProcessLib/PhaseField/CreatePhaseFieldProcess.h" #include "ProcessLib/PhaseField/CreatePhaseFieldProcess.h"
#endif #endif
...@@ -987,6 +992,33 @@ void ProjectData::parseProcesses( ...@@ -987,6 +992,33 @@ void ProjectData::parseProcesses(
} }
else else
#endif #endif
#ifdef OGS_BUILD_PROCESS_THERMORICHARDSMECHANICS
if (type == "THERMO_RICHARDS_MECHANICS")
{
switch (_mesh_vec[0]->getDimension())
{
case 2:
process = ProcessLib::ThermoRichardsMechanics::
createThermoRichardsMechanicsProcess<2>(
name, *_mesh_vec[0], std::move(jacobian_assembler),
_process_variables, _parameters,
_local_coordinate_system, integration_order,
process_config, _media);
break;
case 3:
process = ProcessLib::ThermoRichardsMechanics::
createThermoRichardsMechanicsProcess<3>(
name, *_mesh_vec[0], std::move(jacobian_assembler),
_process_variables, _parameters,
_local_coordinate_system, integration_order,
process_config, _media);
break;
}
}
else
#endif
#ifdef OGS_BUILD_PROCESS_TWOPHASEFLOWWITHPP #ifdef OGS_BUILD_PROCESS_TWOPHASEFLOWWITHPP
if (type == "TWOPHASE_FLOW_PP") if (type == "TWOPHASE_FLOW_PP")
{ {
......
append_source_files(SOURCES)
ogs_add_library(ThermoRichardsMechanics ${SOURCES})
target_link_libraries(ThermoRichardsMechanics PUBLIC ProcessLib PRIVATE ParameterLib)
if(BUILD_TESTING)
include(Tests.cmake)
endif()
...@@ -8,6 +8,7 @@ set(ProcessesList ...@@ -8,6 +8,7 @@ set(ProcessesList
HydroMechanics HydroMechanics
LiquidFlow LiquidFlow
LIE LIE
ThermoRichardsMechanics
PhaseField PhaseField
RichardsComponentTransport RichardsComponentTransport
RichardsFlow RichardsFlow
......
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