Add pair potential and tests

This commit is contained in:
Alex Selimov 2025-04-16 14:01:40 -04:00
parent dfd6f43e9b
commit 6162b27a89
11 changed files with 330 additions and 14 deletions

View file

@ -1,16 +1,17 @@
project(${CMAKE_PROJECT_NAME}_lib CUDA CXX)
set(HEADER_FILES
./test.h
particle.hpp
simulation.hpp
box.hpp
pair_potentials.hpp
)
set(SOURCE_FILES
./test.cpp
pair_potentials.cpp
)
# The library contains header and source files.
add_library(${CMAKE_PROJECT_NAME}_lib
add_library(${CMAKE_PROJECT_NAME}_lib
${HEADER_FILES}
${SOURCE_FILES}
${HEADER_FILES}
)
target_include_directories(${CMAKE_PROJECT_NAME}_lib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})