ARK4< X, FI, FE, dX > Class Template Reference

#include <ARK4.H>

List of all members.

template<class X, class FI, class FE, class dX>
class ARK4< X, FI, FE, dX >


Public Member Functions

 ARK4 ()
void define (const X &a_state, Real a_dt)
void advance (Real a_time, X &a_state)
void resetDt (Real a_dt)
bool isDefined () const

Static Public Attributes

static const int s_nStages = 6
 Runge-Kutta coefficients.
static const Real s_gamma = 0.25
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 Real s_c [s_nStages] = { 0.0, 0.5, 0.332, 0.62, 0.85, 1.0 }

Protected Attributes

bool m_isDefined
Real m_dt
m_phi [s_nStages]
dX m_kE [s_nStages-1]
dX m_kI [s_nStages-1]
dX m_kEfinal
dX m_rhs
FI m_fI
FE m_fE

Static Private Attributes

static ARK4< XConcept,
FIConcept, FEConcept,
dXConcept
testConcept

Constructor & Destructor Documentation

template<class X, class FI, class FE, class dX>
ARK4< X, FI, FE, dX >::ARK4 (  )  [inline]


Member Function Documentation

template<class X, class FI, class FE, class dX>
void ARK4< X, FI, FE, dX >::define ( const X &  a_state,
Real  a_dt 
) [inline]

template<class X, class FI, class FE, class dX>
void ARK4< X, FI, FE, dX >::advance ( Real  a_time,
X &  a_state 
) [inline]

template<class X, class FI, class FE, class dX>
void ARK4< X, FI, FE, dX >::resetDt ( Real  a_dt  )  [inline]

template<class X, class FI, class FE, class dX>
bool ARK4< X, FI, FE, dX >::isDefined (  )  const [inline]


Member Data Documentation

template<class X, class FI, class FE, class dX>
const int ARK4< X, FI, FE, dX >::s_nStages = 6 [static]

Runge-Kutta coefficients.

Referenced by ARK4< X, FI, FE, dX >::advance(), and ARK4< X, FI, FE, dX >::define().

template<class X, class FI, class FE, class dX>
const Real ARK4< X, FI, FE, dX >::s_gamma = 0.25 [inline, static]

template<class X, class FI, class FE, class dX>
const Real ARK4< X, FI, FE, dX >::s_aE [inline, static]

Initial value:

 {
  {0., 0., 0., 0., 0., 0.},
  {0.5, 0., 0., 0., 0., 0.},
  {0.221776, 0.110224, 0., 0., 0., 0.},
  {-0.04884659515311857, -0.17772065232640102, 0.8465672474795197, 0., 0., 0.},
  {-0.15541685842491548, -0.3567050098221991, 1.0587258798684427, 0.30339598837867193, 0., 0.},
  { 0.2014243506726763, 0.008742057842904185, 0.15993995707168115, 0.4038290605220775, 0.22606457389066084, 0.}
}

Referenced by ARK4< X, FI, FE, dX >::advance().

template<class X, class FI, class FE, class dX>
const Real ARK4< X, FI, FE, dX >::s_aI [inline, static]

Initial value:

 {
  {0., 0., 0., 0., 0., 0.},
  {0.25, 0.25, 0., 0., 0., 0.},
  {0.137776, -0.055776, 0.25, 0., 0., 0.},
  {0.14463686602698217, -0.22393190761334475, 0.4492950415863626, 0.25, 0., 0.},
  {0.09825878328356477, -0.5915442428196704, 0.8101210538282996, 0.283164405707806, 0.25, 0.},
  {0.15791629516167136, 0., 0.18675894052400077, 0.6805652953093346, -0.27524053099500667, 0.25}
}

Referenced by ARK4< X, FI, FE, dX >::advance().

template<class X, class FI, class FE, class dX>
const Real ARK4< X, FI, FE, dX >::s_b [inline, static]

Initial value:

  {0.15791629516167136, 0., 0.18675894052400077, 0.6805652953093346, -0.27524053099500667, 0.25}

Referenced by ARK4< X, FI, FE, dX >::advance().

template<class X, class FI, class FE, class dX>
const Real ARK4< X, FI, FE, dX >::s_c = { 0.0, 0.5, 0.332, 0.62, 0.85, 1.0 } [inline, static]

template<class X, class FI, class FE, class dX>
bool ARK4< X, FI, FE, dX >::m_isDefined [protected]

template<class X, class FI, class FE, class dX>
Real ARK4< X, FI, FE, dX >::m_dt [protected]

template<class X, class FI, class FE, class dX>
X ARK4< X, FI, FE, dX >::m_phi[s_nStages] [protected]

template<class X, class FI, class FE, class dX>
dX ARK4< X, FI, FE, dX >::m_kE[s_nStages-1] [protected]

template<class X, class FI, class FE, class dX>
dX ARK4< X, FI, FE, dX >::m_kI[s_nStages-1] [protected]

template<class X, class FI, class FE, class dX>
dX ARK4< X, FI, FE, dX >::m_kEfinal [protected]

template<class X, class FI, class FE, class dX>
dX ARK4< X, FI, FE, dX >::m_rhs [protected]

template<class X, class FI, class FE, class dX>
FI ARK4< X, FI, FE, dX >::m_fI [protected]

template<class X, class FI, class FE, class dX>
FE ARK4< X, FI, FE, dX >::m_fE [protected]

template<class X, class FI, class FE, class dX>
ARK4<XConcept, FIConcept, FEConcept, dXConcept> ARK4< X, FI, FE, dX >::testConcept [static, private]


The documentation for this class was generated from the following file:

Generated on Mon Oct 23 04:03:52 2017 for Chombo + EB by  doxygen 1.5.5