mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-15 20:38:23 +01:00
feat: implement data clustering using PHT feat: implement interpolation refactor: use named vector for DHT species definition and significant digits data: remove unusable input scripts data: move Phreeqc database to benchmark dir refactor: rename dolomite benchmark directory refactor: remove DHT prop type from input script
22 lines
671 B
CMake
22 lines
671 B
CMake
file(GLOB surrogate_models_SRC
|
|
CONFIGURE_DEPENDS
|
|
"*.cpp" "*.c")
|
|
|
|
find_library(MATH_LIBRARY m)
|
|
|
|
add_library(surrogate_models ${surrogate_models_SRC})
|
|
target_include_directories(surrogate_models PUBLIC ${PROJECT_SOURCE_DIR}/include)
|
|
target_link_libraries(surrogate_models PUBLIC
|
|
MPI::MPI_CXX ${MATH_LIBRARY})
|
|
target_compile_definitions(surrogate_models PUBLIC OMPI_SKIP_MPICXX)
|
|
|
|
option(POET_PHT_ADDITIONAL_INFO "Enables additional information in the PHT" OFF)
|
|
|
|
if (POET_PHT_ADDITIONAL_INFO)
|
|
target_compile_definitions(surrogate_models PRIVATE POET_PHT_ADD)
|
|
endif()
|
|
|
|
if(POET_DHT_DEBUG)
|
|
target_compile_definitions(surrogate_models PRIVATE DHT_STATISTICS)
|
|
endif()
|