- C++20 Standard
- AABB
- VMD
- Root CERN
Do not forget also to install the Root CERN dependencies
./compile.shor
./run.shint main() { RealNumberGenerator rng; std::vector<Particle> particles(N); for (size_t i{}; i < N; ++i) particles[i] = Particle(rng.get_double(0, 100), rng.get_double(0, 100), rng.get_double(0, 100), rng.get_double(0, 5), rng.get_double(0, 5), rng.get_double(0, 5), rng.get_double(0.5, 1)); for (size_t i{}; i < particles.size(); ++i) { const aabb::AABB ¤tAABB{particles[i].getBoundingBox()}; particles[i].updatePosition(); } writeInXYZ(std::span<Particle const>(particles.data(), particles.size()), "trajectory.xyz"); return EXIT_SUCCESS; }./compile.sh ./main vmd trajectory.xyz -e vmd.tcl