Skip to content

Commit

Permalink
[PL] Rename GroundwaterFlow to SteadyStateDiffusion I.
Browse files Browse the repository at this point in the history
- Rename
  + process name,
  + process folder, and
  + cmake macros.
  • Loading branch information
TomFischer committed Mar 25, 2020
1 parent 7fc0558 commit 0228969
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Applications/ApplicationsLib/ProjectData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
#include "ProcessLib/ComponentTransport/ComponentTransportProcess.h"
#include "ProcessLib/ComponentTransport/CreateComponentTransportProcess.h"
#endif
#ifdef OGS_BUILD_PROCESS_GROUNDWATERFLOW
#include "ProcessLib/GroundwaterFlow/CreateGroundwaterFlowProcess.h"
#ifdef OGS_BUILD_PROCESS_STEADYSTATEDIFFUSION
#include "ProcessLib/SteadyStateDiffusion/CreateGroundwaterFlowProcess.h"
#endif
#ifdef OGS_BUILD_PROCESS_HT
#include "ProcessLib/HT/CreateHTProcess.h"
Expand Down Expand Up @@ -534,7 +534,7 @@ void ProjectData::parseProcesses(BaseLib::ConfigTree const& processes_config,
//! \ogs_file_param{prj__processes__process__jacobian_assembler}
process_config.getConfigSubtreeOptional("jacobian_assembler"));

#ifdef OGS_BUILD_PROCESS_GROUNDWATERFLOW
#ifdef OGS_BUILD_PROCESS_STEADYSTATEDIFFUSION
if (type == "GROUNDWATER_FLOW")
{
// The existence check of the in the configuration referenced
Expand Down
10 changes: 10 additions & 0 deletions ProcessLib/SteadyStateDiffusion/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
append_source_files(SOURCES)

add_library(SteadyStateDiffusion ${SOURCES})
if(BUILD_SHARED_LIBS)
install(TARGETS SteadyStateDiffusion LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif()

target_link_libraries(SteadyStateDiffusion PUBLIC ProcessLib PRIVATE ParameterLib)

include(Tests.cmake)
File renamed without changes.
4 changes: 2 additions & 2 deletions scripts/cmake/ProcessesSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# processes to be build.
set(ProcessesList
ComponentTransport
GroundwaterFlow
HT
HeatConduction
HeatTransportBHE
Expand All @@ -15,6 +14,7 @@ set(ProcessesList
RichardsMechanics
SmallDeformation
SmallDeformationNonlocal
SteadyStateDiffusion
TES
ThermalTwoPhaseFlowWithPP
ThermoHydroMechanics
Expand Down Expand Up @@ -57,4 +57,4 @@ if(NOT "${OGS_BUILD_PROCESSES}" STREQUAL "")
set(OGS_BUILD_PROCESS_${process} OFF CACHE BOOL "" FORCE)
endif()
endforeach()
endif()
endif()

0 comments on commit 0228969

Please sign in to comment.