CenterGravity.hpp
Go to the documentation of this file.
1 
6 #ifndef CENTERGRAVITY_HPP
7 #define CENTERGRAVITY_HPP 1
8 
9 #include "ConservativeForce.hpp"
10 
13 {
14 public:
21  (double M,double Rmin,const Vector2D& center);
22 
23  Vector2D operator()
24  (const Tessellation& tess,
25  const vector<ComputationalCell>& cells,
26  const vector<Extensive>& fluxes,
27  const double time,
28  const int point,
29  TracerStickerNames const& tracerstickernames) const;
30 
31 private:
32  const double M_;
33  const double Rmin_;
34  const Vector2D center_;
35 };
36 
37 #endif // CENTERGRAVITY_HPP
Abstract class for tessellation.
Physical acceleration.
Gravitational acceleration due to a pointlike mass.
Class for keeping the names of the tracers and stickers.
CenterGravity(double M, double Rmin, const Vector2D &center)
Class constructor.
Abstract class for conservative force&#39;s acceleration.
2D Mathematical vector
Definition: geometry.hpp:15