SMILE  v2.5
Schwarzschild Modelling Interactive expLoratory Environment
Public Types | Public Member Functions | Protected Attributes | List of all members
smile::CBasicOdeIntegrator Class Referenceabstract

basic class for numerical integrators of ODE system More...

#include <common.h>

Inheritance diagram for smile::CBasicOdeIntegrator:
Inheritance graph
[legend]
Collaboration diagram for smile::CBasicOdeIntegrator:
Collaboration graph
[legend]

Public Types

enum  STEPPERKIND {
  SK_DEFAULT, SK_LEAPFROG_NB, SK_DOP853, SK_IAS15,
  SK_HERMITE, SK_ODEINT_CK5, SK_ODEINT_DP5, SK_ODEINT_BS3,
  SK_ODEINT_BS, SK_ODEINT_RK4, SK_ODEINT_SYMPL4
}
 list of various ODE stepper types
 

Public Member Functions

 CBasicOdeIntegrator (COdeSystem *_odeSystem)
 
virtual void integrateToTime (double timeEnd)=0
 perform integration
 
double getTime () const
 return the time to which the integration has proceeded so far
 
virtual double getInterpolatedSolution (unsigned int c, double t) const =0
 return interpolated value of c-th variable at time t, where t must lie within current timestep interval; called from various runtime functions that need to obtain x(t) at arbitrary times
 

Protected Attributes

COdeSystem * odeSystem
 
double timePrev
 
double timeCurr
 

Detailed Description

basic class for numerical integrators of ODE system


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