Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ add_subdirectory(${SRC_DIR}/../setups ${CMAKE_CURRENT_BINARY_DIR}/setups)

set(libs ntt_global ntt_framework ntt_metrics ntt_engines ntt_pgen)
add_dependencies(${ENTITY} ${libs})
target_link_libraries(${ENTITY} PUBLIC ${libs})
target_link_libraries(${ENTITY} PUBLIC ${libs})
3 changes: 2 additions & 1 deletion src/framework/domain/metadomain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <mpi.h>
#endif

#include <limits>
#include <map>
#include <memory>
#include <string>
Expand Down Expand Up @@ -375,7 +376,7 @@ namespace ntt {
template <SimEngine::type S, class M>
void Metadomain<S, M>::metricCompatibilityCheck() const {
const auto dx_min = g_mesh.metric.dxMin();
auto dx_min_from_domains = INFINITY;
auto dx_min_from_domains = std::numeric_limits<real_t>::infinity();
for (unsigned int idx { 0 }; idx < g_ndomains; ++idx) {
const auto& current_domain = g_subdomains[idx];
const auto current_dx_min = current_domain.mesh.metric.dxMin();
Expand Down
3 changes: 2 additions & 1 deletion src/global/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ add_library(ntt_global ${SOURCES})
target_include_directories(ntt_global
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
)
)
target_link_libraries(ntt_global PRIVATE stdc++fs)
2 changes: 1 addition & 1 deletion src/output/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function(gen_test title)

set (libs ntt_output ntt_global ntt_metrics ntt_framework)
add_dependencies(${exec} ${libs})
target_link_libraries(${exec} PRIVATE ${libs})
target_link_libraries(${exec} PRIVATE ${libs} stdc++fs)

add_test(NAME "OUTPUT::${title}" COMMAND "${exec}")
endfunction()
Expand Down