diff --git a/src/cmake/GeosxOptions.cmake b/src/cmake/GeosxOptions.cmake index 0e7821c282d..dc62fde2147 100644 --- a/src/cmake/GeosxOptions.cmake +++ b/src/cmake/GeosxOptions.cmake @@ -89,7 +89,7 @@ option( GEOS_INSTALL_SCHEMA "Enables schema generation and installation" ON ) option( GEOS_BUILD_OBJ_LIBS "Builds coreComponent modules as object libraries" OFF ) -option( GEOS_BUILD_SHARED_LIBS "Builds geosx_core as a shared library " OFF ) +option( GEOS_BUILD_SHARED_LIBS "Builds geosx_core as a shared library " ON ) set( GEOS_PARALLEL_COMPILE_JOBS "" CACHE STRING "Maximum number of concurrent compilation jobs" ) if( GEOS_PARALLEL_COMPILE_JOBS ) diff --git a/src/coreComponents/constitutive/fluid/multifluid/CO2Brine/functions/BrineEnthalpy.cpp b/src/coreComponents/constitutive/fluid/multifluid/CO2Brine/functions/BrineEnthalpy.cpp index 0291ccef3dd..d887cddff52 100644 --- a/src/coreComponents/constitutive/fluid/multifluid/CO2Brine/functions/BrineEnthalpy.cpp +++ b/src/coreComponents/constitutive/fluid/multifluid/CO2Brine/functions/BrineEnthalpy.cpp @@ -208,8 +208,8 @@ BrineEnthalpy::BrineEnthalpy( string const & name, GEOS_UNUSED_VAR( printTable ); // if( printTable ) // { - // m_CO2EnthalpyTable->print( m_CO2EnthalpyTable->getName() ); - // m_brineEnthalpyTable->print( m_brineEnthalpyTable->getName() ); + // m_CO2EnthalpyTable->print( m_CO2EnthalpyTable->getName() ); + // m_brineEnthalpyTable->print( m_brineEnthalpyTable->getName() ); // } } diff --git a/src/coreComponents/constitutive/fluid/multifluid/CO2Brine/functions/CO2Solubility.cpp b/src/coreComponents/constitutive/fluid/multifluid/CO2Brine/functions/CO2Solubility.cpp index 94baba5d7e7..6300cef4909 100644 --- a/src/coreComponents/constitutive/fluid/multifluid/CO2Brine/functions/CO2Solubility.cpp +++ b/src/coreComponents/constitutive/fluid/multifluid/CO2Brine/functions/CO2Solubility.cpp @@ -260,8 +260,8 @@ CO2Solubility::CO2Solubility( string const & name, GEOS_UNUSED_VAR( printTable ); // if( printTable ) // { - // m_CO2SolubilityTable->print( m_CO2SolubilityTable->getName() ); - // m_WaterVapourisationTable->print( m_WaterVapourisationTable->getName() ); + // m_CO2SolubilityTable->print( m_CO2SolubilityTable->getName() ); + // m_WaterVapourisationTable->print( m_WaterVapourisationTable->getName() ); // } } diff --git a/src/coreComponents/constitutive/fluid/multifluid/CO2Brine/functions/EzrokhiBrineDensity.cpp b/src/coreComponents/constitutive/fluid/multifluid/CO2Brine/functions/EzrokhiBrineDensity.cpp index 3b5e0f84535..90c7c86b2c2 100644 --- a/src/coreComponents/constitutive/fluid/multifluid/CO2Brine/functions/EzrokhiBrineDensity.cpp +++ b/src/coreComponents/constitutive/fluid/multifluid/CO2Brine/functions/EzrokhiBrineDensity.cpp @@ -57,8 +57,8 @@ EzrokhiBrineDensity::EzrokhiBrineDensity( string const & name, // if( printTable ) // { - // m_waterSatDensityTable->print( m_waterSatDensityTable->getName() ); - // m_waterSatPressureTable->print( m_waterSatPressureTable->getName() ); + // m_waterSatDensityTable->print( m_waterSatDensityTable->getName() ); + // m_waterSatPressureTable->print( m_waterSatPressureTable->getName() ); // } } diff --git a/src/coreComponents/physicsSolvers/FieldStatisticsBase.hpp b/src/coreComponents/physicsSolvers/FieldStatisticsBase.hpp index 96bfbb29556..2afecdd6d66 100644 --- a/src/coreComponents/physicsSolvers/FieldStatisticsBase.hpp +++ b/src/coreComponents/physicsSolvers/FieldStatisticsBase.hpp @@ -84,7 +84,7 @@ class FieldStatisticsBase : public TaskBase void postInputInitialization() override { Group & problemManager = this->getGroupByPath( "/Problem" ); - Group & physicsSolverManager = problemManager.getGroup("Solvers"); + Group & physicsSolverManager = problemManager.getGroup( "Solvers" ); m_solver = physicsSolverManager.getGroupPointer< SOLVER >( m_solverName ); GEOS_THROW_IF( m_solver == nullptr, diff --git a/src/coreComponents/physicsSolvers/fluidFlow/StencilDataCollection.cpp b/src/coreComponents/physicsSolvers/fluidFlow/StencilDataCollection.cpp index e939067dc0e..dcd795ec3ed 100644 --- a/src/coreComponents/physicsSolvers/fluidFlow/StencilDataCollection.cpp +++ b/src/coreComponents/physicsSolvers/fluidFlow/StencilDataCollection.cpp @@ -63,7 +63,7 @@ void StencilDataCollection::postInputInitialization() Group & problemManager = this->getGroupByPath( "/Problem" ); { // find targeted solver - Group & physicsSolverManager = problemManager.getGroup("Solvers"); + Group & physicsSolverManager = problemManager.getGroup( "Solvers" ); m_solver = physicsSolverManager.getGroupPointer< FlowSolverBase >( m_solverName ); GEOS_THROW_IF( m_solver == nullptr, diff --git a/src/coreComponents/physicsSolvers/multiphysics/PoromechanicsInitialization.cpp b/src/coreComponents/physicsSolvers/multiphysics/PoromechanicsInitialization.cpp index ec74dd5a511..e431cf1ac06 100644 --- a/src/coreComponents/physicsSolvers/multiphysics/PoromechanicsInitialization.cpp +++ b/src/coreComponents/physicsSolvers/multiphysics/PoromechanicsInitialization.cpp @@ -68,7 +68,7 @@ PoromechanicsInitialization< POROMECHANICS_SOLVER >:: postInputInitialization() { Group & problemManager = this->getGroupByPath( "/Problem" ); - Group & physicsSolverManager = problemManager.getGroup("Solvers"); + Group & physicsSolverManager = problemManager.getGroup( "Solvers" ); GEOS_THROW_IF( !physicsSolverManager.hasGroup( m_poromechanicsSolverName ), GEOS_FMT( "{}: {} solver named {} not found", @@ -81,7 +81,7 @@ postInputInitialization() if( !m_solidMechanicsStatisticsName.empty()) { - TasksManager & tasksManager = problemManager.getGroup("Tasks"); + TasksManager & tasksManager = problemManager.getGroup< TasksManager >( "Tasks" ); GEOS_THROW_IF( !tasksManager.hasGroup( m_solidMechanicsStatisticsName ), GEOS_FMT( "{}: statistics task named {} not found", diff --git a/src/coreComponents/physicsSolvers/solidMechanics/SolidMechanicsStateReset.cpp b/src/coreComponents/physicsSolvers/solidMechanics/SolidMechanicsStateReset.cpp index 9f9ee6b36b0..b5642b135e9 100644 --- a/src/coreComponents/physicsSolvers/solidMechanics/SolidMechanicsStateReset.cpp +++ b/src/coreComponents/physicsSolvers/solidMechanics/SolidMechanicsStateReset.cpp @@ -59,7 +59,7 @@ SolidMechanicsStateReset::~SolidMechanicsStateReset() void SolidMechanicsStateReset::postInputInitialization() { Group & problemManager = this->getGroupByPath( "/Problem" ); - Group & physicsSolverManager = problemManager.getGroup("Solvers"); + Group & physicsSolverManager = problemManager.getGroup( "Solvers" ); GEOS_THROW_IF( !physicsSolverManager.hasGroup( m_solidSolverName ), GEOS_FMT( "Task {}: physics solver named {} not found",