must lower test epsilon with single precision FFTs and pppm used

This commit is contained in:
Axel Kohlmeyer
2023-07-21 12:12:53 -04:00
parent cccc362b3f
commit 21d4be321a
2 changed files with 11 additions and 1 deletions

View File

@ -199,6 +199,9 @@ add_executable(test_fix_timestep test_fix_timestep.cpp)
if(NOT BUILD_SHARED_LIBS)
target_compile_definitions(test_fix_timestep PRIVATE USING_STATIC_LIBS=1)
endif()
if(FFT_SINGLE)
target_compile_definitions(test_fix_timestep PRIVATE -DFFT_SINGLE)
endif()
target_link_libraries(test_fix_timestep PRIVATE lammps style_tests)
# tests for timestep related fixes (time integration, thermostat, force manipulation, constraints/restraints)