Simple cell updater. More...
#include <simple_cell_updater.hpp>
Classes | |
class | Action |
Action taken to calculate cell. More... | |
class | Condition |
Abstract class to determine cell type. More... | |
Public Member Functions | |
SimpleCellUpdater (const vector< pair< const SimpleCellUpdater::Condition *, const SimpleCellUpdater::Action *> > sequence=vector< pair< const SimpleCellUpdater::Condition *, const SimpleCellUpdater::Action *> >(), bool SR=false, double G=0) | |
Class constructor. More... | |
vector< ComputationalCell > | operator() (const Tessellation &tess, const PhysicalGeometry &pg, const EquationOfState &eos, vector< Extensive > &extensives, const vector< ComputationalCell > &old, const CacheData &cd, const TracerStickerNames &tracerstickernames, double time) const |
Calculates the computational cells. More... | |
![]() | |
virtual | ~CellUpdater (void) |
Class destructor. | |
Simple cell updater.
Definition at line 15 of file simple_cell_updater.hpp.
|
explicit |
Class constructor.
sequence | List of rules for cells that are calculated in a special way |
SR | Flag for relativity |
G | The adiabatic index for relativistic ideal gas law |
Definition at line 8 of file simple_cell_updater.cpp.
|
virtual |
Calculates the computational cells.
tess | Tessellation |
pg | Physical geometry |
eos | Equation of state |
extensives | Extensive variables |
old | Old computational cells |
cd | Cached data |
tracerstickername | The names of the tracers and stickers |
Implements CellUpdater.
Definition at line 210 of file simple_cell_updater.cpp.