Class for a combination of external sources. More...
#include <SeveralSources.hpp>
Public Member Functions | |
SeveralSources (vector< SourceTerm *> forces) | |
Class constructor. More... | |
~SeveralSources (void) | |
Class destructor. | |
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 |
Calcualtes the change in conserved variables done on a cell from a source term. More... | |
Class for a combination of external sources.
Definition at line 13 of file SeveralSources.hpp.
|
explicit |
Class constructor.
forces | List of sources |
Definition at line 3 of file SeveralSources.cpp.
|
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 |
Implements SourceTerm.
Definition at line 9 of file SeveralSources.cpp.