|
chombo-discharge
|
Per-RTE-solver scratch storage for the IMEX-SDC time stepper. More...
#include <CD_CdrPlasmaImExSdcStorage.H>
Public Member Functions | |
| 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. | |
Protected Attributes | |
| 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.
| 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.
| [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). |
Allocate RTE scratch storage for p+1 SDC nodes.
| [in] | a_p | Number of SDC subintervals. |
|
inline |
Return the domain-face-centered isotropic photon flux scratch array.
|
inline |
Return the EB-centered isotropic photon flux scratch array.
|
inline |
Return the cell-centered photon density at the previous time step.