|
pure-cpp 1.0.0
A C++ physics simulation benchmark comparing performance with Python implementations
|
Implementation of the n-body simulation space, handling physics and collisions. More...
#include "space.hpp"#include <omp.h>#include <Eigen/StdVector>#include <QDebug>#include <algorithm>#include <chrono>#include <cmath>#include <random>#include "pcg_random.hpp"
Go to the source code of this file.
Typedefs | |
| using | ProfilingClock = std::chrono::high_resolution_clock |
Implementation of the n-body simulation space, handling physics and collisions.
This file is part of the pure C++ benchmark.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Definition in file space.cpp.