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

Simple cell updater. More...

#include <simple_cell_updater.hpp>

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

Classes

class  Action
 Action taken to calculate cell. More...
 
class  Condition
 Abstract class to determine cell type. More...
 

Public Member Functions

 SimpleCellUpdater (const vector< pair< const SimpleCellUpdater::Condition *, const SimpleCellUpdater::Action *> > sequence=vector< pair< const SimpleCellUpdater::Condition *, const SimpleCellUpdater::Action *> >(), bool SR=false, double G=0)
 Class constructor. More...
 
vector< ComputationalCelloperator() (const Tessellation &tess, const PhysicalGeometry &pg, const EquationOfState &eos, vector< Extensive > &extensives, const vector< ComputationalCell > &old, const CacheData &cd, const TracerStickerNames &tracerstickernames, double time) const
 Calculates the computational cells. More...
 
- Public Member Functions inherited from CellUpdater
virtual ~CellUpdater (void)
 Class destructor.
 

Detailed Description

Simple cell updater.

Definition at line 15 of file simple_cell_updater.hpp.

Constructor & Destructor Documentation

◆ SimpleCellUpdater()

SimpleCellUpdater::SimpleCellUpdater ( const vector< pair< const SimpleCellUpdater::Condition *, const SimpleCellUpdater::Action *> >  sequence = vector<pair<const SimpleCellUpdater::Condition*, const SimpleCellUpdater::Action*> >(),
bool  SR = false,
double  G = 0 
)
explicit

Class constructor.

Parameters
sequenceList of rules for cells that are calculated in a special way
SRFlag for relativity
GThe adiabatic index for relativistic ideal gas law

Definition at line 8 of file simple_cell_updater.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ operator()()

vector< ComputationalCell > SimpleCellUpdater::operator() ( const Tessellation tess,
const PhysicalGeometry pg,
const EquationOfState eos,
vector< Extensive > &  extensives,
const vector< ComputationalCell > &  old,
const CacheData cd,
const TracerStickerNames tracerstickername,
double  time 
) const
virtual

Calculates the computational cells.

Parameters
tessTessellation
pgPhysical geometry
eosEquation of state
extensivesExtensive variables
oldOld computational cells
cdCached data
tracerstickernameThe names of the tracers and stickers
Returns
List of computational cells

Implements CellUpdater.

Definition at line 210 of file simple_cell_updater.cpp.

Here is the call graph for this function:

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