Abstract class for external forces. More...
#include <SourceTerm.hpp>
Public Member Functions | |
virtual vector< Extensive > | operator() (const Tessellation &tess, const PhysicalGeometry &pg, const CacheData &cd, const vector< ComputationalCell > &cells, const vector< Extensive > &fluxes, const vector< Vector2D > &point_velocities, const double t, TracerStickerNames const &tracerstickernames) const =0 |
Calcualtes the change in conserved variables done on a cell from a source term. More... | |
Abstract class for external forces.
Definition at line 17 of file SourceTerm.hpp.
|
pure virtual |
Calcualtes the change in conserved variables done on a cell from a source term.
tess | The tessellation |
pg | Physical geometry |
cd | Cache data |
cells | The hydrodynmic variables of the cell |
fluxes | Fluxes |
point_velocities | Velocities of the mesh generating points |
t | Time |
tracerstickernames | The names of the tracers and stickers |
Implemented in ConservativeForce, SeveralSources, CylindricalComplementary, and ZeroForce.