First order flux calculator based on a series of conditions and actions. More...
#include <condition_action_sequence.hpp>
Classes | |
class | Action |
Action taken to calculate flux. More... | |
class | Condition |
Determines the kind of interface. More... | |
Public Member Functions | |
ConditionActionSequence (const vector< pair< const Condition *, const Action *> > &sequence) | |
Class constructor. More... | |
vector< Extensive > | operator() (const Tessellation &tess, const vector< Vector2D > &edge_velocities, const vector< ComputationalCell > &cells, const vector< Extensive > &extensives, const CacheData &cd, const EquationOfState &eos, const double time, const double dt, TracerStickerNames const &tracerstickernames) const |
Calculates fluxes. More... | |
![]() | |
virtual | ~FluxCalculator (void) |
Class destructor. | |
First order flux calculator based on a series of conditions and actions.
Definition at line 8 of file condition_action_sequence.hpp.
|
explicit |
Class constructor.
sequence | Series of condition and action action pairs. Both have to be dynamically allocated pointers, and will be explicitly destructed upon descruction of the class |
Definition at line 6 of file condition_action_sequence.cpp.
|
virtual |
Calculates fluxes.
tess | Tessellation |
edge_velocities | Velocities of the mesh generating points |
cells | Computational cells |
extensives | Extensive variables in each cell |
cd | Cached data |
eos | Equation of state |
time | Time |
dt | Time step |
tracerstickernames | The names of the tracers and stickers |
Implements FluxCalculator.
Definition at line 40 of file condition_action_sequence.cpp.