CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
RKAdaptiveSolver< T, StepWithPrec, N > Class Template Referencefinal

#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

Vector operator() (Scalar startPar, const Vector &startState, Scalar step, const RKDerivative< T, N > &deriv, const RKDistance< T, N > &dist, float eps) override
 
- 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>
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 
)
overridevirtual

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 >.