|
chombo-discharge
|
Utility class for memory handling in CdrPlasmaStepper. More...
#include <CD_CdrPlasmaGodunovStorage.H>

Public Member Functions | |
| CdrStorage ()=delete | |
| Disallowed constructor. Only strong construction allowed. | |
| CdrStorage (const RefCountedPtr< AmrMesh > &a_amr, const std::string a_realm, const phase::which_phase a_phase) | |
| Full constructor. After this, user may call allocateStorage and deallocateStorage. | |
| virtual | ~CdrStorage () |
| Destructor. | |
| virtual void | allocateStorage () |
| Allocation function. This will allocate all transient storage in this class. | |
| virtual void | deallocateStorage () |
| Allocation function. This will delete all transient storage in this class. | |
| EBAMRCellData & | getScratch () const |
| Get scratch storage. | |
| EBAMRCellData & | getScratch2 () const |
| Get the other scratch storage. | |
| EBAMRCellData & | getExtrap () const |
| Get the extrapolation storage. This is usually used for holding phi + 0.5*dt*S. | |
| EBAMRCellData & | getGradient () const |
| Get storage for holding gradient. | |
| EBAMRIVData & | getEbState () const |
| Get scratch storage that holds the density on the EB. | |
| EBAMRIVData & | getEbVelo () const |
| Get the scratch storage holding the normal component of the velocity on the EB. | |
| EBAMRIVData & | getEbFlux () const |
| Get the scratch storage holding the extrapolated flux on the EB. | |
| EBAMRIVData & | getEbGrad () const |
| Get the scratch storage holding the extrapolated gradient on the EB. | |
| EBAMRIFData & | getDomainState () const |
| Get the scratch storage holding the extrapolated density on domain faces. | |
| EBAMRIFData & | getDomainVelo () const |
| Get the scratch storage holding the extrapolated velocity (normal component only) on domain faces. | |
| EBAMRIFData & | getDomainFlux () const |
| Get the scratch storage holding the extrapolated flux on domain faces. | |
| EBAMRIFData & | getDomainGrad () const |
| Get the scratch storage holding the extrapolated gradient (normal component only) on domain faces. | |
Protected Attributes | |
| RefCountedPtr< AmrMesh > | m_amr |
| Reference to AmrMesh. | |
| std::string | m_realm |
| Realm where data lives. | |
| phase::which_phase | m_phase |
| Phase where data lives. | |
| EBAMRCellData | m_scratch |
| Cell-centered scratch data. | |
| EBAMRCellData | m_scratch2 |
| Cell-centered scratch data. | |
| EBAMRCellData | m_cellExtr |
| Cell-centered scratch data. Used for holding phi + 0.5*dt*S. | |
| EBAMRCellData | m_gradient |
| Cell-centered scratch data for holding the gradient. | |
| EBAMRIVData | m_scratchIV1 |
| EB-centered scratch data. | |
| EBAMRIVData | m_scratchIV2 |
| EB-centered scratch data. | |
| EBAMRIVData | m_scratchIV3 |
| EB-centered scratch data. | |
| EBAMRIVData | m_scratchIV4 |
| EB-centered scratch data. | |
| EBAMRIFData | m_scratchIF1 |
| Domain-centered scratch data. | |
| EBAMRIFData | m_scratchIF2 |
| Domain-centered scratch data. | |
| EBAMRIFData | m_scratchIF3 |
| Domain-centered scratch data. | |
| EBAMRIFData | m_scratchIF4 |
| Domain-centered scratch data. | |
Utility class for memory handling in CdrPlasmaStepper.
This class exists because we often need some extra storage when advancing the equations.
| CdrPlasmaGodunovStepper::CdrStorage::CdrStorage | ( | const RefCountedPtr< AmrMesh > & | a_amr, |
| const std::string | a_realm, | ||
| const phase::which_phase | a_phase | ||
| ) |