36 #ifndef HERMITE4CPU_HPP 37 #define HERMITE4CPU_HPP 38 #include "../Hermite4.hpp" Class in charge of all the logging system in the code.
Definition: Logger.hpp:60
Logger * logger
Logger object reference.
Definition: Hermite4.hpp:56
This structure contains the predicted information of a particle in some moment of the integration...
Definition: common.hpp:192
Class in charge of the general aspects of the N-body integrator.
Definition: NbodySystem.hpp:51
void update_acc_jrk(unsigned int nact)
Method that call the force_calculation method for every and particles interaction of the ones...
Definition: Hermite4CPU.cpp:103
Hermite4CPU(NbodySystem *ns, Logger *logger, NbodyUtils *nu)
Constructor that uses its parent constructor.
Definition: Hermite4CPU.cpp:40
void predicted_pos_vel(double ITIME)
Method that predict all the particles to the current integration time.
Definition: Hermite4CPU.cpp:130
void force_calculation(Predictor pi, Predictor pj, Forces &fi)
Method that calculate the gravitational interaction between two particles.
Definition: Hermite4CPU.cpp:55
~Hermite4CPU()
Destructor.
Definition: Hermite4CPU.cpp:48
Class which implements on the CPU the structure of the Hermite4 scheme.
Definition: Hermite4CPU.hpp:49
General class that define the structure to be follow by any implementation of the integrator (CPU...
Definition: Hermite4.hpp:48
void init_acc_jrk()
Method that initializes the acceleration and it first derivative.
Definition: Hermite4CPU.cpp:86
void integration()
Integration virtual method to be implemented.
Definition: Hermite4CPU_integration.cpp:38
Class in charge of the different properties of the system.
Definition: NbodyUtils.hpp:49
This structure contains the information of the Forces of a particle in some moment of the integration...
Definition: common.hpp:207
NbodySystem * ns
NbodySystem object reference.
Definition: Hermite4.hpp:54
void correction_pos_vel(double ITIME, unsigned int nact)
Method that correct the positions and velocities of the particles at the end of every integration ste...
Definition: Hermite4CPU.cpp:160
NbodyUtils * nu
NbodyUtils object reference.
Definition: Hermite4.hpp:58