Public Member Functions | List of all members
SimpleAMRCellUpdaterSR Class Reference

Simple class for cell update scheme in amr for SR. More...

#include <amr.hpp>

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

Public Member Functions

 SimpleAMRCellUpdaterSR (double G, vector< string > toskip)
 class constructor More...
 
ComputationalCell ConvertExtensiveToPrimitve (const Extensive &extensive, const EquationOfState &eos, double volume, ComputationalCell const &old_cell, TracerStickerNames const &tracerstickernames) const
 Calculates the computational cell. More...
 
- Public Member Functions inherited from AMRCellUpdater
virtual ~AMRCellUpdater (void)
 Class destructor.
 

Detailed Description

Simple class for cell update scheme in amr for SR.

Definition at line 93 of file amr.hpp.

Constructor & Destructor Documentation

◆ SimpleAMRCellUpdaterSR()

SimpleAMRCellUpdaterSR::SimpleAMRCellUpdaterSR ( double  G,
vector< string >  toskip 
)
explicit

class constructor

Parameters
GThe adiabatic index
toskipA list of sticker names to skip their cell update

Definition at line 92 of file amr.cpp.

Member Function Documentation

◆ ConvertExtensiveToPrimitve()

ComputationalCell SimpleAMRCellUpdaterSR::ConvertExtensiveToPrimitve ( const Extensive extensive,
const EquationOfState eos,
double  volume,
ComputationalCell const &  old_cell,
TracerStickerNames const &  tracerstickernames 
) const
virtual

Calculates the computational cell.

Parameters
extensiveExtensive conserved variables
eosEquation of state
volumeCell volume
old_cellOld computational cell
tracerstickernamesThe names of the tracers and stickers
Returns
Computational cell

Implements AMRCellUpdater.

Definition at line 94 of file amr.cpp.

Here is the call graph for this function:

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