Chombo + EB + MF
3.2
|
#include <ARK4DenseOutput.H>
Public Member Functions | |
ARK4DenseOutput () | |
void | define (const Soln &a_state, Real a_dt, bool a_denseOutput=false) |
void | advance (Real a_time, Soln &a_state) |
void | denseOutputCoefs (Vector< Rhs * > &a_interpCoefs) |
void | resetDt (Real a_dt) |
void | start0end1 (bool a_start0, bool a_end1) |
IMEXOp & | getImExOp () |
bool | isDefined () const |
bool | hasDenseOutput () const |
Static Public Attributes | |
static const int | s_nStages = 6 |
Runge-Kutta coefficients. More... | |
static const Real | s_aIdiag = 0.25 |
static const Real | s_c [s_nStages] = { 0.0, 0.5, 0.332, 0.62, 0.85, 1.0 } |
static const Real | s_aE [s_nStages][s_nStages] |
static const Real | s_aI [s_nStages][s_nStages] |
static const Real | s_b [s_nStages] |
static const int | s_nDenseCoefs = 3 |
static const Real | s_bstar [s_nDenseCoefs][s_nStages] |
Protected Attributes | |
bool | m_isDefined |
bool | m_denseOutput |
bool | m_hasDenseOutput |
Real | m_dt |
Real | m_time |
Soln | m_phi [s_nStages] |
Rhs | m_rhs |
Rhs | m_denseCoefs [s_nDenseCoefs] |
Rhs | m_kE |
Rhs | m_kI |
IMEXOp | m_opImEx |
This is a more flexible, reduced memory version 4th-order additive Runge-Kutta algorithm, that also includes dense output coefficients This templated class encapsulates the fourth-order additive Runge-Kutta method "ARK4(3)6L[2]SA" by Kennedy and Carpenter 2003 Appl. Numer. Math. 44: 139-181
See also section 3 of Zhang, Johansen, and Colella, SIAM J. Sci. Comput. 34, pp. B179-B201.
|
inline |
void ARK4DenseOutput< Soln, Rhs, IMEXOp >::define | ( | const Soln & | a_state, |
Real | a_dt, | ||
bool | a_denseOutput = false |
||
) |
References CH_TIMERS.
void ARK4DenseOutput< Soln, Rhs, IMEXOp >::advance | ( | Real | a_time, |
Soln & | a_state | ||
) |
void ARK4DenseOutput< Soln, Rhs, IMEXOp >::denseOutputCoefs | ( | Vector< Rhs * > & | a_interpCoefs | ) |
References CH_assert, CH_TIMERS, and Vector< T >::size().
void ARK4DenseOutput< Soln, Rhs, IMEXOp >::resetDt | ( | Real | a_dt | ) |
void ARK4DenseOutput< Soln, Rhs, IMEXOp >::start0end1 | ( | bool | a_start0, |
bool | a_end1 | ||
) |
References CH_assert.
IMEXOp & ARK4DenseOutput< Soln, Rhs, IMEXOp >::getImExOp | ( | ) |
|
inline |
|
inline |
|
static |
Runge-Kutta coefficients.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protected |
|
protected |
|
protected |
Referenced by ARK4DenseOutput< Soln, Rhs, IMEXOp >::hasDenseOutput().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |