Per-RTE-solver scratch storage for the IMEX-SDC time stepper.
More...
#include <CD_CdrPlasmaImExSdcStorage.H>
|
|
| RtStorage () |
| | Default constructor. Leaves all members uninitialised; call allocateStorage() after construction.
|
| |
| | RtStorage (const RefCountedPtr< AmrMesh > &a_amr, const std::string &a_realm, const phase::which_phase a_phase, const int a_ncomp) |
| | Full constructor.
|
| |
|
| ~RtStorage () |
| | Destructor.
|
| |
| void | allocateStorage (const int a_p) |
| | Allocate RTE scratch storage for p+1 SDC nodes.
|
| |
|
void | deallocateStorage () |
| | Deallocate all RTE scratch storage.
|
| |
| EBAMRCellData & | getPrevious () |
| | Return the cell-centered photon density at the previous time step.
|
| |
| EBAMRIVData & | getEbFlux () |
| | Return the EB-centered isotropic photon flux scratch array.
|
| |
| EBAMRIFData & | getDomainFlux () |
| | Return the domain-face-centered isotropic photon flux scratch array.
|
| |
|
|
std::string | m_realm |
| | Realm on which storage is allocated.
|
| |
|
RefCountedPtr< AmrMesh > | m_amr |
| | AMR mesh used for allocation.
|
| |
|
phase::which_phase | m_phase |
| | Phase on which storage is allocated.
|
| |
|
int | m_ncomp |
| | Number of scalar components (1 for RTE species).
|
| |
|
int | m_p |
| | Number of SDC subintervals.
|
| |
|
EBAMRCellData | m_previous |
| | Cell-centered photon density at the previous time step (used to restore state on rejection).
|
| |
|
EBAMRIVData | m_scratchIV |
| | EB-centered scratch array for the isotropic photon density boundary condition.
|
| |
|
EBAMRIFData | m_scratchIF |
| | Domain-face-centered scratch array for the isotropic photon density boundary condition.
|
| |
Per-RTE-solver scratch storage for the IMEX-SDC time stepper.
Holds the photon density at the previous time step plus EB and domain face flux arrays used to impose boundary conditions during the RTE advance.
◆ RtStorage()
| CdrPlasmaImExSdcStepper::RtStorage::RtStorage |
( |
const RefCountedPtr< AmrMesh > & |
a_amr, |
|
|
const std::string & |
a_realm, |
|
|
const phase::which_phase |
a_phase, |
|
|
const int |
a_ncomp |
|
) |
| |
Full constructor.
- Parameters
-
| [in] | a_amr | AMR mesh used to allocate data. |
| [in] | a_realm | Realm on which storage is allocated. |
| [in] | a_phase | Phase on which storage is allocated. |
| [in] | a_ncomp | Number of components (1 for scalar RTE species). |
◆ allocateStorage()
| void CdrPlasmaImExSdcStepper::RtStorage::allocateStorage |
( |
const int |
a_p | ) |
|
Allocate RTE scratch storage for p+1 SDC nodes.
- Parameters
-
| [in] | a_p | Number of SDC subintervals. |
◆ getDomainFlux()
| EBAMRIFData & Physics::CdrPlasma::CdrPlasmaImExSdcStepper::RtStorage::getDomainFlux |
( |
| ) |
|
|
inline |
Return the domain-face-centered isotropic photon flux scratch array.
- Returns
- Reference to m_scratchIF.
◆ getEbFlux()
| EBAMRIVData & Physics::CdrPlasma::CdrPlasmaImExSdcStepper::RtStorage::getEbFlux |
( |
| ) |
|
|
inline |
Return the EB-centered isotropic photon flux scratch array.
- Returns
- Reference to m_scratchIV.
◆ getPrevious()
| EBAMRCellData & Physics::CdrPlasma::CdrPlasmaImExSdcStepper::RtStorage::getPrevious |
( |
| ) |
|
|
inline |
Return the cell-centered photon density at the previous time step.
- Returns
- Reference to m_previous.
The documentation for this class was generated from the following files: