Keplerian velocity. More...
#include <KeplerVelocity.hpp>


Public Member Functions | |
| KeplerVelocity (Direction dir, double Mass, Vector2D const ¢er=Vector2D(0, 0)) | |
| Class constructor. More... | |
| double | operator() (const Vector2D &point) const |
| Evaluates the function. More... | |
Keplerian velocity.
Definition at line 16 of file KeplerVelocity.hpp.
| KeplerVelocity::KeplerVelocity | ( | Direction | dir, |
| double | Mass, | ||
| Vector2D const & | center = Vector2D(0,0) |
||
| ) |
Class constructor.
| dir | The component of the velocity, can be xdir or ydir |
| Mass | The mass of the central star (G=1) |
| center | The location of the star |
Definition at line 3 of file KeplerVelocity.cpp.
|
virtual |
Evaluates the function.
| point | Position |
Implements SpatialDistribution.
Definition at line 6 of file KeplerVelocity.cpp.

1.8.13