Classes | Public Member Functions | List of all members
ConditionExtensiveUpdater Class Reference

Updates the extensives based on a series of conditions and actions. More...

#include <ConditionExtensiveUpdater.hpp>

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

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

Detailed Description

Updates the extensives based on a series of conditions and actions.

Definition at line 8 of file ConditionExtensiveUpdater.hpp.

Constructor & Destructor Documentation

◆ ConditionExtensiveUpdater()

ConditionExtensiveUpdater::ConditionExtensiveUpdater ( const vector< pair< const Condition *, const Action *> > &  sequence)
explicit

Class constructor.

Parameters
sequenceSeries 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.

Member Function Documentation

◆ operator()()

void ConditionExtensiveUpdater::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 21 of file ConditionExtensiveUpdater.cpp.

Here is the call graph for this function:

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