Utility class for memory handling in CdrPlasmaStepper.
More...
#include <CD_CdrPlasmaGodunovStorage.H>
Utility class for memory handling in CdrPlasmaStepper.
This class exists because we often need some extra storage when advancing the equations.
◆ CdrStorage()
Full constructor. After this, user may call allocateStorage and deallocateStorage.
- Parameters
-
| [in] | a_amr | Reference to AmrMesh |
| [in] | a_realm | Realm where storage lives |
| [in] | a_phase | Phase where storage lives (only single-phased data in here) |
◆ getDomainFlux()
| EBAMRIFData & Physics::CdrPlasma::CdrPlasmaGodunovStepper::CdrStorage::getDomainFlux |
( |
| ) |
const |
|
inline |
Get the scratch storage holding the extrapolated flux on domain faces.
- Returns
- Domain flux
◆ getDomainGrad()
| EBAMRIFData & Physics::CdrPlasma::CdrPlasmaGodunovStepper::CdrStorage::getDomainGrad |
( |
| ) |
const |
|
inline |
Get the scratch storage holding the extrapolated gradient (normal component only) on domain faces.
- Returns
- Domain grad
◆ getDomainState()
| EBAMRIFData & Physics::CdrPlasma::CdrPlasmaGodunovStepper::CdrStorage::getDomainState |
( |
| ) |
const |
|
inline |
Get the scratch storage holding the extrapolated density on domain faces.
- Returns
- Domain state
◆ getDomainVelo()
| EBAMRIFData & Physics::CdrPlasma::CdrPlasmaGodunovStepper::CdrStorage::getDomainVelo |
( |
| ) |
const |
|
inline |
Get the scratch storage holding the extrapolated velocity (normal component only) on domain faces.
- Returns
- Domain velo
◆ getEbFlux()
| EBAMRIVData & Physics::CdrPlasma::CdrPlasmaGodunovStepper::CdrStorage::getEbFlux |
( |
| ) |
const |
|
inline |
Get the scratch storage holding the extrapolated flux on the EB.
- Returns
- Eb flux
◆ getEbGrad()
| EBAMRIVData & Physics::CdrPlasma::CdrPlasmaGodunovStepper::CdrStorage::getEbGrad |
( |
| ) |
const |
|
inline |
Get the scratch storage holding the extrapolated gradient on the EB.
- Returns
- Eb grad
◆ getEbState()
| EBAMRIVData & Physics::CdrPlasma::CdrPlasmaGodunovStepper::CdrStorage::getEbState |
( |
| ) |
const |
|
inline |
Get scratch storage that holds the density on the EB.
- Returns
- Eb state
◆ getEbVelo()
| EBAMRIVData & Physics::CdrPlasma::CdrPlasmaGodunovStepper::CdrStorage::getEbVelo |
( |
| ) |
const |
|
inline |
Get the scratch storage holding the normal component of the velocity on the EB.
- Returns
- Eb velo
◆ getExtrap()
| EBAMRCellData & Physics::CdrPlasma::CdrPlasmaGodunovStepper::CdrStorage::getExtrap |
( |
| ) |
const |
|
inline |
Get the extrapolation storage. This is usually used for holding phi + 0.5*dt*S.
- Returns
- Extrap
◆ getGradient()
| EBAMRCellData & Physics::CdrPlasma::CdrPlasmaGodunovStepper::CdrStorage::getGradient |
( |
| ) |
const |
|
inline |
Get storage for holding gradient.
- Returns
- Gradient
◆ getScratch()
| EBAMRCellData & Physics::CdrPlasma::CdrPlasmaGodunovStepper::CdrStorage::getScratch |
( |
| ) |
const |
|
inline |
Get scratch storage.
- Returns
- Scratch
◆ getScratch2()
| EBAMRCellData & Physics::CdrPlasma::CdrPlasmaGodunovStepper::CdrStorage::getScratch2 |
( |
| ) |
const |
|
inline |
Get the other scratch storage.
- Returns
- Scratch2
The documentation for this class was generated from the following files: