Public Member Functions | List of all members
LagrangianExtensiveUpdate Class Reference

Updates extensive in such a way that minimises advection. More...

#include <LagrangianExtensiveUpdate.hpp>

Inheritance diagram for LagrangianExtensiveUpdate:
Inheritance graph
[legend]
Collaboration diagram for LagrangianExtensiveUpdate:
Collaboration graph
[legend]

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...
 
- Public Member Functions inherited from ExtensiveUpdater
virtual ~ExtensiveUpdater (void)
 Class constructor.
 

Detailed Description

Updates extensive in such a way that minimises advection.

Definition at line 10 of file LagrangianExtensiveUpdate.hpp.

Constructor & Destructor Documentation

◆ LagrangianExtensiveUpdate()

LagrangianExtensiveUpdate::LagrangianExtensiveUpdate ( LagrangianFlux const &  lflux,
GhostPointGenerator const &  ghost 
)

Class constructor.

Parameters
lfluxFlux calculator
ghostScheme to create ghost points

Definition at line 14 of file LagrangianExtensiveUpdate.cpp.

Member Function Documentation

◆ operator()()

void LagrangianExtensiveUpdate::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
virtual

Updates the extensive variables.

Parameters
fluxesFluxes
pgPhysical geometry
tessTessellation
dtTime step
cdCache data
cellsComputational cells
extensivesExtensive variables
tracerstickernamesThe names of the tracers and stickers
timeThe time

Implements ExtensiveUpdater.

Definition at line 17 of file LagrangianExtensiveUpdate.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: