Revision 2c5b8e5f4452d045071b8bb34b60e53b49a5b2ad authored by wenqing on 02 March 2023, 16:49:26 UTC, committed by wenqing on 02 March 2023, 16:49:26 UTC
[THM] A new benchmark: mini-benchmark1 of FE task force

See merge request ogs/ogs!4486
2 parent s e19b9d3 + 90a8a09
Raw File
CMakeLists.txt
add_subdirectory(SolidModels)
add_subdirectory(FractureModels)

# Source files
get_source_files(SOURCES)
append_source_files(SOURCES Adsorption)

append_source_files(SOURCES Fluid)
append_source_files(SOURCES Fluid/Density)
append_source_files(SOURCES Fluid/Viscosity)
append_source_files(SOURCES Fluid/GibbsFreeEnergy)
append_source_files(SOURCES Fluid/FluidProperties)
append_source_files(SOURCES Fluid/SpecificHeatCapacity)
append_source_files(SOURCES Fluid/ThermalConductivity)
append_source_files(SOURCES Fluid/WaterVaporProperties)

append_source_files(SOURCES MPL)
append_source_files(SOURCES MPL/Properties)
append_source_files(SOURCES MPL/Properties/CapillaryPressureSaturation)
append_source_files(SOURCES MPL/Properties/Density)
append_source_files(SOURCES MPL/Properties/Enthalpy)
append_source_files(SOURCES MPL/Properties/RelativePermeability)
append_source_files(SOURCES MPL/Properties/SwellingStress)
append_source_files(SOURCES MPL/Properties/ThermalConductivity)
append_source_files(SOURCES MPL/Properties/VapourDiffusion)
append_source_files(SOURCES MPL/Properties/Viscosity)
append_source_files(SOURCES MPL/Components)
append_source_files(SOURCES MPL/Utils)

append_source_files(SOURCES PorousMedium)
append_source_files(SOURCES PorousMedium/Porosity)
append_source_files(SOURCES PorousMedium/Storage)
append_source_files(SOURCES PorousMedium/Permeability)
append_source_files(SOURCES PorousMedium/UnsaturatedProperty/CapillaryPressure)
append_source_files(
    SOURCES PorousMedium/UnsaturatedProperty/RelativePermeability
)

ogs_add_library(MaterialLib GENERATE_EXPORT_HEADER ${SOURCES})

target_link_libraries(
    MaterialLib
    PUBLIC BaseLib Eigen3::Eigen MaterialLib_SolidModels
           MaterialLib_FractureModels
    PRIVATE MathLib MeshLib ParameterLib exprtk Boost::mp11
)

target_precompile_headers(MaterialLib PRIVATE [["BaseLib/Error.h"]]
    [["BaseLib/ConfigTree.h"]] [["BaseLib/Logging.h"]]
    [["ParameterLib/Parameter.h"]] <Eigen/Core>)
back to top