Updates extensive in such a way that minimises advection. More...
#include <LagrangianExtensiveUpdate.hpp>
Public Member Functions | |
LagrangianExtensiveUpdate (LagrangianFlux const &lflux, GhostPointGenerator const &ghost) | |
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 extensive in such a way that minimises advection.
Definition at line 10 of file LagrangianExtensiveUpdate.hpp.
LagrangianExtensiveUpdate::LagrangianExtensiveUpdate | ( | LagrangianFlux const & | lflux, |
GhostPointGenerator const & | ghost | ||
) |
Class constructor.
lflux | Flux calculator |
ghost | Scheme to create ghost points |
Definition at line 14 of file LagrangianExtensiveUpdate.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 17 of file LagrangianExtensiveUpdate.cpp.