#include "utl/RK5ODEIntegrator.h"
Public Member Functions | |
bool | Advance (const double dx, const VectorType &dYdX) |
bool | Advance (const double dx) |
void | ClearStatus () |
DerivativeFunctor & | GetDerivativeFunctor () |
double | GetX () const |
VectorType & | GetY () |
const VectorType & | GetY () const |
const VectorType & | GetYError () const |
operator bool () const | |
RK5Iterator & | operator+= (const double dx) |
RK5Iterator & | operator-= (const double dx) |
RK5Iterator (const double x, const VectorType &y, DerivativeFunctor &d) | |
Private Member Functions | |
bool | Step (const double dx, VectorType &yNew, const VectorType &dYdX) |
Static Private Member Functions | |
static void | Clear (const unsigned int n, VectorType &b) |
static void | Copy (const unsigned int n, const VectorType &a, VectorType &b) |
Private Attributes | |
DerivativeFunctor & | fDerivativeFunctor |
bool | fStatus |
double | fX |
VectorType | fY |
VectorType | fYError |
Static Private Attributes | |
static const double | fA [6] |
static const double | fB [5][5] |
static const double | fC [5] |
static const double | fD [5] |
Friends | |
template<class A , class B , class C > | |
class | AdaptiveRK5Iterator |
This iterator class will advance the solution for the current point. See class RK5ODEIntegrator for details.
Definition at line 36 of file RK5ODEIntegrator.h.
|
inline |
|
inline |
Definition at line 55 of file RK5ODEIntegrator.h.
References utl::RK5Iterator< DerivativeFunctor, VectorType >::fStatus, utl::RK5Iterator< DerivativeFunctor, VectorType >::fX, utl::RK5Iterator< DerivativeFunctor, VectorType >::fY, and utl::RK5Iterator< DerivativeFunctor, VectorType >::Step().
Referenced by utl::RK5Iterator< DerivativeFunctor, VectorType >::Advance(), utl::RK5Iterator< DerivativeFunctor, VectorType >::operator+=(), and utl::RK5Iterator< DerivativeFunctor, VectorType >::operator-=().
|
inline |
Definition at line 65 of file RK5ODEIntegrator.h.
References utl::RK5Iterator< DerivativeFunctor, VectorType >::Advance(), utl::RK5Iterator< DerivativeFunctor, VectorType >::fDerivativeFunctor, utl::RK5Iterator< DerivativeFunctor, VectorType >::fX, and utl::RK5Iterator< DerivativeFunctor, VectorType >::fY.
|
inlinestaticprivate |
Definition at line 125 of file RK5ODEIntegrator.h.
Referenced by utl::RK5Iterator< DerivativeFunctor, VectorType >::RK5Iterator().
|
inline |
Definition at line 83 of file RK5ODEIntegrator.h.
References utl::RK5Iterator< DerivativeFunctor, VectorType >::fStatus.
|
inlinestaticprivate |
Definition at line 117 of file RK5ODEIntegrator.h.
Referenced by utl::RK5Iterator< DerivativeFunctor, VectorType >::RK5Iterator().
|
inline |
Definition at line 78 of file RK5ODEIntegrator.h.
References utl::RK5Iterator< DerivativeFunctor, VectorType >::fDerivativeFunctor.
|
inline |
Definition at line 46 of file RK5ODEIntegrator.h.
References utl::RK5Iterator< DerivativeFunctor, VectorType >::fX.
Referenced by TestODEIntegrator::TestRK5(), and TestODEIntegrator::TestRK5SVector().
|
inline |
Definition at line 48 of file RK5ODEIntegrator.h.
References utl::RK5Iterator< DerivativeFunctor, VectorType >::fY.
Referenced by TestODEIntegrator::TestRK5(), and TestODEIntegrator::TestRK5SVector().
|
inline |
Definition at line 50 of file RK5ODEIntegrator.h.
References utl::RK5Iterator< DerivativeFunctor, VectorType >::fY.
|
inline |
Definition at line 52 of file RK5ODEIntegrator.h.
References utl::RK5Iterator< DerivativeFunctor, VectorType >::fYError.
|
inlineexplicit |
Definition at line 81 of file RK5ODEIntegrator.h.
References utl::RK5Iterator< DerivativeFunctor, VectorType >::fStatus.
|
inline |
Definition at line 72 of file RK5ODEIntegrator.h.
References utl::RK5Iterator< DerivativeFunctor, VectorType >::Advance().
|
inline |
Definition at line 75 of file RK5ODEIntegrator.h.
References utl::RK5Iterator< DerivativeFunctor, VectorType >::Advance().
|
inlineprivate |
Definition at line 87 of file RK5ODEIntegrator.h.
References utl::RK5Iterator< DerivativeFunctor, VectorType >::fA, utl::RK5Iterator< DerivativeFunctor, VectorType >::fB, utl::RK5Iterator< DerivativeFunctor, VectorType >::fC, utl::RK5Iterator< DerivativeFunctor, VectorType >::fD, utl::RK5Iterator< DerivativeFunctor, VectorType >::fDerivativeFunctor, utl::RK5Iterator< DerivativeFunctor, VectorType >::fStatus, utl::RK5Iterator< DerivativeFunctor, VectorType >::fX, utl::RK5Iterator< DerivativeFunctor, VectorType >::fY, and utl::RK5Iterator< DerivativeFunctor, VectorType >::fYError.
Referenced by utl::RK5Iterator< DerivativeFunctor, VectorType >::Advance().
|
friend |
Definition at line 144 of file RK5ODEIntegrator.h.
|
staticprivate |
Definition at line 138 of file RK5ODEIntegrator.h.
Referenced by utl::RK5Iterator< DerivativeFunctor, VectorType >::Step().
|
staticprivate |
Definition at line 139 of file RK5ODEIntegrator.h.
Referenced by utl::RK5Iterator< DerivativeFunctor, VectorType >::Step().
|
staticprivate |
Definition at line 140 of file RK5ODEIntegrator.h.
Referenced by utl::RK5Iterator< DerivativeFunctor, VectorType >::Step().
|
staticprivate |
Definition at line 141 of file RK5ODEIntegrator.h.
Referenced by utl::RK5Iterator< DerivativeFunctor, VectorType >::Step().
|
private |
Definition at line 134 of file RK5ODEIntegrator.h.
Referenced by utl::RK5Iterator< DerivativeFunctor, VectorType >::Advance(), utl::RK5Iterator< DerivativeFunctor, VectorType >::GetDerivativeFunctor(), and utl::RK5Iterator< DerivativeFunctor, VectorType >::Step().
|
private |
Definition at line 135 of file RK5ODEIntegrator.h.
Referenced by utl::RK5Iterator< DerivativeFunctor, VectorType >::Advance(), utl::RK5Iterator< DerivativeFunctor, VectorType >::ClearStatus(), utl::RK5Iterator< DerivativeFunctor, VectorType >::operator bool(), and utl::RK5Iterator< DerivativeFunctor, VectorType >::Step().
|
private |
Definition at line 131 of file RK5ODEIntegrator.h.
Referenced by utl::RK5Iterator< DerivativeFunctor, VectorType >::Advance(), utl::RK5Iterator< DerivativeFunctor, VectorType >::GetX(), and utl::RK5Iterator< DerivativeFunctor, VectorType >::Step().
|
private |
Definition at line 132 of file RK5ODEIntegrator.h.
Referenced by utl::RK5Iterator< DerivativeFunctor, VectorType >::Advance(), utl::RK5Iterator< DerivativeFunctor, VectorType >::GetY(), utl::RK5Iterator< DerivativeFunctor, VectorType >::RK5Iterator(), and utl::RK5Iterator< DerivativeFunctor, VectorType >::Step().
|
private |
Definition at line 133 of file RK5ODEIntegrator.h.
Referenced by utl::RK5Iterator< DerivativeFunctor, VectorType >::GetYError(), utl::RK5Iterator< DerivativeFunctor, VectorType >::RK5Iterator(), and utl::RK5Iterator< DerivativeFunctor, VectorType >::Step().