CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions
RKAdaptiveSolver< T, StepWithPrec, N > Class Template Reference

#include <RKAdaptiveSolver.h>

Inheritance diagram for RKAdaptiveSolver< T, StepWithPrec, N >:
RKSolver< T, N >

Public Types

typedef RKSolver< T, NBase
 
typedef Base::Scalar Scalar
 
typedef Base::Vector Vector
 
- Public Types inherited from RKSolver< T, N >
typedef T Scalar
 
typedef RKSmallVector< T, NVector
 

Public Member Functions

virtual Vector operator() (Scalar startPar, const Vector &startState, Scalar step, const RKDerivative< T, N > &deriv, const RKDistance< T, N > &dist, float eps)
 
- Public Member Functions inherited from RKSolver< T, N >
virtual ~RKSolver ()
 

Detailed Description

template<typename T, template< typename, int > class StepWithPrec, int N>
class RKAdaptiveSolver< T, StepWithPrec, N >

Definition at line 13 of file RKAdaptiveSolver.h.

Member Typedef Documentation

template<typename T , template< typename, int > class StepWithPrec, int N>
typedef RKSolver<T,N> RKAdaptiveSolver< T, StepWithPrec, N >::Base

Definition at line 16 of file RKAdaptiveSolver.h.

template<typename T , template< typename, int > class StepWithPrec, int N>
typedef Base::Scalar RKAdaptiveSolver< T, StepWithPrec, N >::Scalar

Definition at line 17 of file RKAdaptiveSolver.h.

template<typename T , template< typename, int > class StepWithPrec, int N>
typedef Base::Vector RKAdaptiveSolver< T, StepWithPrec, N >::Vector

Definition at line 18 of file RKAdaptiveSolver.h.

Member Function Documentation

template<typename T , template< typename, int > class StepWithPrec, int N>
virtual Vector RKAdaptiveSolver< T, StepWithPrec, N >::operator() ( Scalar  startPar,
const Vector startState,
Scalar  step,
const RKDerivative< T, N > &  deriv,
const RKDistance< T, N > &  dist,
float  eps 
)
virtual

Advance starting state (startPar,startState) by step. The accuracy of the result should be better than eps. The accuracy is computed as the distance (using the "dist" argument) between different internal estimates of the resulting state. The "deriv" argument computes the derivatives.

Implements RKSolver< T, N >.