Updates the extensives based on a series of conditions and actions. More...
#include <ConditionExtensiveUpdater.hpp>
Classes | |
class | Action |
Action taken to update extensive. More... | |
class | Condition |
Determines the kind of cell. More... | |
Public Member Functions | |
ConditionExtensiveUpdater (const vector< pair< const Condition *, const Action *> > &sequence) | |
Class constructor. More... | |
void | operator() (const vector< Extensive > &fluxes, const PhysicalGeometry &pg, const Tessellation &tess, const double dt, const CacheData &cd, const vector< ComputationalCell > &cells, vector< Extensive > &extensives, double time, TracerStickerNames const &tracerstickernames) const |
Updates the extensive variables. More... | |
![]() | |
virtual | ~ExtensiveUpdater (void) |
Class constructor. | |
Updates the extensives based on a series of conditions and actions.
Definition at line 8 of file ConditionExtensiveUpdater.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 18 of file ConditionExtensiveUpdater.cpp.
|
virtual |
Updates the extensive variables.
fluxes | Fluxes |
pg | Physical geometry |
tess | Tessellation |
dt | Time step |
cd | Cache data |
cells | Computational cells |
extensives | Extensive variables |
tracerstickernames | The names of the tracers and stickers |
time | The time |
Implements ExtensiveUpdater.
Definition at line 21 of file ConditionExtensiveUpdater.cpp.