Utility class for memory handling in CdrPlasmaStepper.
More...
#include <CD_CdrPlasmaGodunovStorage.H>
|
|
| RtStorage ()=delete |
| | Disallowed weak constructor.
|
| |
| | RtStorage (const RefCountedPtr< AmrMesh > &a_amr, const std::string &a_realm, phase::which_phase a_phase) |
| | Full constructor. Can call allocation functions after this.
|
| |
|
virtual | ~RtStorage () |
| | Destructor.
|
| |
|
| RtStorage (const RtStorage &)=delete |
| |
|
RtStorage & | operator= (const RtStorage &)=delete |
| |
|
| RtStorage (RtStorage &&)=delete |
| |
|
RtStorage & | operator= (RtStorage &&)=delete |
| |
|
virtual void | allocateStorage () |
| | Allocate function – allocates the flux data holders.
|
| |
|
virtual void | deallocateStorage () |
| | Allocate function – deallocates the flux data holders.
|
| |
| EBAMRIVData & | getEbFlux () const |
| | Get scratch storage that holds the EB flux.
|
| |
| EBAMRIFData & | getDomainFlux () const |
| | Get scratch storage that holds the domain.
|
| |
|
|
RefCountedPtr< AmrMesh > | m_amr |
| | Reference to AmrMesh.
|
| |
|
std::string | m_realm |
| | Realm where data lives.
|
| |
|
phase::which_phase | m_phase |
| | Phase where data lives.
|
| |
|
EBAMRIVData | m_scratchIV |
| | Scratch storage on EB.
|
| |
|
EBAMRIFData | m_scratchIF |
| | Scratch storage on domain faces.
|
| |
Utility class for memory handling in CdrPlasmaStepper.
This class exists because we often need some extra storage when advancing the equations.
◆ RtStorage()
| CdrPlasmaGodunovStepper::RtStorage::RtStorage |
( |
const RefCountedPtr< AmrMesh > & |
a_amr, |
|
|
const std::string & |
a_realm, |
|
|
phase::which_phase |
a_phase |
|
) |
| |
Full constructor. Can call allocation functions after this.
- 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::RtStorage::getDomainFlux |
( |
| ) |
const |
|
inline |
Get scratch storage that holds the domain.
- Returns
- Domain flux
◆ getEbFlux()
| EBAMRIVData & Physics::CdrPlasma::CdrPlasmaGodunovStepper::RtStorage::getEbFlux |
( |
| ) |
const |
|
inline |
Get scratch storage that holds the EB flux.
- Returns
- Eb flux
The documentation for this class was generated from the following files: