List of all members | Public Member Functions | Static Private Member Functions | Private Attributes
utl::RK4Iterator< DerivativeFunctor, VectorType > Class Template Reference

#include "utl/RK4ODEIntegrator.h"

Public Member Functions

bool Advance (const double dx, const VectorType &dYdX)
 
bool Advance (const double dx)
 
double GetX () const
 
VectorType & GetY ()
 
const VectorType & GetY () const
 
 operator bool () const
 
RK4Iteratoroperator+= (const double dx)
 
RK4Iteratoroperator-= (const double dx)
 
 RK4Iterator (const double x, const VectorType &y, DerivativeFunctor &d)
 

Static Private Member Functions

static void Copy (const unsigned int n, const VectorType &a, VectorType &b)
 

Private Attributes

DerivativeFunctor & fDerivativeFunctor
 
bool fStatus
 
double fX
 
VectorType fY
 

Detailed Description

template<class DerivativeFunctor, class VectorType>
class utl::RK4Iterator< DerivativeFunctor, VectorType >

This iterator class will advance the solution for the current point. See class RK4ODEIntegrator for details.

Author
Darko Veberic
Date
20 Jun 2008

Definition at line 20 of file RK4ODEIntegrator.h.

Constructor & Destructor Documentation

template<class DerivativeFunctor, class VectorType>
utl::RK4Iterator< DerivativeFunctor, VectorType >::RK4Iterator ( const double  x,
const VectorType &  y,
DerivativeFunctor &  d 
)
inline

Member Function Documentation

template<class DerivativeFunctor, class VectorType>
bool utl::RK4Iterator< DerivativeFunctor, VectorType >::Advance ( const double  dx,
const VectorType &  dYdX 
)
inline
template<class DerivativeFunctor, class VectorType>
bool utl::RK4Iterator< DerivativeFunctor, VectorType >::Advance ( const double  dx)
inline
template<class DerivativeFunctor, class VectorType>
static void utl::RK4Iterator< DerivativeFunctor, VectorType >::Copy ( const unsigned int  n,
const VectorType &  a,
VectorType &  b 
)
inlinestaticprivate
template<class DerivativeFunctor, class VectorType>
double utl::RK4Iterator< DerivativeFunctor, VectorType >::GetX ( ) const
inline
template<class DerivativeFunctor, class VectorType>
VectorType& utl::RK4Iterator< DerivativeFunctor, VectorType >::GetY ( )
inline
template<class DerivativeFunctor, class VectorType>
const VectorType& utl::RK4Iterator< DerivativeFunctor, VectorType >::GetY ( ) const
inline
template<class DerivativeFunctor, class VectorType>
utl::RK4Iterator< DerivativeFunctor, VectorType >::operator bool ( ) const
inlineexplicit
template<class DerivativeFunctor, class VectorType>
RK4Iterator& utl::RK4Iterator< DerivativeFunctor, VectorType >::operator+= ( const double  dx)
inline
template<class DerivativeFunctor, class VectorType>
RK4Iterator& utl::RK4Iterator< DerivativeFunctor, VectorType >::operator-= ( const double  dx)
inline

Member Data Documentation

template<class DerivativeFunctor, class VectorType>
DerivativeFunctor& utl::RK4Iterator< DerivativeFunctor, VectorType >::fDerivativeFunctor
private
template<class DerivativeFunctor, class VectorType>
bool utl::RK4Iterator< DerivativeFunctor, VectorType >::fStatus
private
template<class DerivativeFunctor, class VectorType>
double utl::RK4Iterator< DerivativeFunctor, VectorType >::fX
private
template<class DerivativeFunctor, class VectorType>
VectorType utl::RK4Iterator< DerivativeFunctor, VectorType >::fY
private

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

, generated on Tue Sep 26 2023.