Acceleration due to constant gravity. More...
#include <ConstantGravity.hpp>
Public Member Functions | |
ConstantGravity (Vector2D const &force) | |
Class constructor. More... | |
Vector2D | operator() (const Tessellation &tess, const vector< ComputationalCell > &cells, const vector< Extensive > &fluxes, const double time, const int point, TracerStickerNames const &tracerstickernames) const |
Calculates the acceleration that the cell feels. More... | |
Acceleration due to constant gravity.
Definition at line 12 of file ConstantGravity.hpp.
|
explicit |
Class constructor.
force | The acceleration vector |
Definition at line 3 of file ConstantGravity.cpp.
|
virtual |
Calculates the acceleration that the cell feels.
tess | The tessellation |
cells | The primitive cells |
point | The index of the cell to calculate |
fluxes | The vector of the fluxes |
time | The simulation time |
tracerstickernames | The names of the tracers and stickers |
Implements Acceleration.
Definition at line 7 of file ConstantGravity.cpp.