Skip to content

aartiukh/sph-sdk

Repository files navigation

sph

CMake codecov Codacy Badge [!

C++ implementation of Smoothed Particle Hydrodynamics.

How to build

Ubuntu

  • sudo apt-get install libxtst-dev libxrandr-dev libxxf86vm-dev
  • cd build
  • cmake -DBUILD_UNIT_TESTS=ON -DCMAKE_BUILD_TYPE=Release ..
  • make -j

Windows MSVC 2017

  • cd build
  • cmake -G "Visual Studio 15 2017 Win64" -DBUILD_UNIT_TESTS=ON -DCMAKE_BUILD_TYPE=Release ..
  • Open generated sph-sdk.sln and run Build Solution in MSVC 2017 IDE

Windows MSVC 2019

  • cd build
  • cmake -G "Visual Studio 16 2019" -A x64 -DBUILD_UNIT_TESTS=ON -DCMAKE_BUILD_TYPE=Release ..
  • Open generated sph-sdk.sln and run Build Solution in MSVC 2019 IDE

Windows MinGW

  • cd build
  • cmake -G "MinGW Makefiles" -DBUILD_UNIT_TESTS=ON -DCMAKE_BUILD_TYPE=Release ..
  • cmake --build . --config Release -j8

Mac OS

  • cd build
  • cmake -DBUILD_UNIT_TESTS=ON -DCMAKE_BUILD_TYPE=Release ..
  • make -j

How to test

  • ctest -VV

About

C++ implementation of Smoothed Particle Hydrodynamics

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 6