6 #ifndef SIMPLE_CELL_UPDATER_HPP 7 #define SIMPLE_CELL_UPDATER_HPP 1 10 #include "../../misc/utils.hpp" 37 virtual bool operator()
41 const vector<Extensive>& extensives,
42 const vector<ComputationalCell>& cells,
70 const vector<Extensive>& extensives,
71 const vector<ComputationalCell>& cells,
75 double time)
const = 0;
84 (
const vector<pair<const SimpleCellUpdater::Condition*, const SimpleCellUpdater::Action*> > sequence =
85 vector<pair<const SimpleCellUpdater::Condition*, const SimpleCellUpdater::Action*> >(),
bool SR =
false,
double G = 0);
87 vector<ComputationalCell> operator()
91 vector<Extensive>& extensives,
92 const vector<ComputationalCell>& old,
100 const vector<pair<const SimpleCellUpdater::Condition*, const SimpleCellUpdater::Action*> > sequence_;
103 const string entropy_;
114 explicit HasSticker(
const string& sticker_name);
120 const vector<Extensive>& extensives,
121 const vector<ComputationalCell>& cells,
127 const string sticker_name_;
141 const vector<Extensive>& extensives,
142 const vector<ComputationalCell>& cells,
149 #endif // SIMPLE_CELL_UPDATER_HPP Abstract class for tessellation.
Prevents certain cells from being updated.
Abstract class to determine cell type.
Action taken to calculate cell.
Base class for equation of state.
Base class for cell update scheme.
Container for cache data.
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.
Base class for cell update scheme.
Class for keeping the names of the tracers and stickers.
Checks if a cell contains a certain sticker.
Base class for physical geometry.