Engine
symplectic_euler.h
1 #include <time_integrator.h>
2 #include <Eigen/Core>
3 #include <vector3G.h>
4 
5 #ifndef SYMPLECTIC_EULER_H
6 #define SYMPLECTIC_EULER_H
7 
11 {
12  public :
17 
22  SymplecticEuler(GLfloat dt);
23 
24  private:
25 
32  void Solve(
33  const NetForceAccumulator& net_force_accumulator,
34  const std::vector<std::shared_ptr<PhysicsEntity>> &entity_ptrs,
35  const std::shared_ptr<PhysicsEntity> entity_ptr);
36 
37 };
38 #endif
39 
SymplecticEuler()
Definition: symplectic_euler.cpp:5
Implementation of Symplectic Euler method for solving Newton&#39;s equations of motion.
Definition: symplectic_euler.h:10
An abstact base class for all grid based numerical ODE solvers for Newton&#39;s laws. ...
Definition: time_integrator.h:11
Definition: net_force_accumulator.h:14