COPASI API  4.40.278
CRungeKutta.h File Reference
#include <sstream>
#include "copasi/core/CVector.h"
#include "copasi/utilities/CBrent.h"

Classes

class  CRungeKutta
 

Macros

#define EPS0   4.940656458412465e-300
 
#define EPS1   2.220446049250313e-16
 
#define MAX_STAGE   8
 

Typedefs

typedef void(* EvalDeriv) (const size_t *, const C_FLOAT64 *, const C_FLOAT64 *, C_FLOAT64 *)
 
typedef void(* EvalRoot) (const size_t *, const C_FLOAT64 *, const C_FLOAT64 *, const size_t *, C_FLOAT64 *)
 

Macro Definition Documentation

◆ EPS0

#define EPS0   4.940656458412465e-300

◆ EPS1

#define EPS1   2.220446049250313e-16

◆ MAX_STAGE

#define MAX_STAGE   8

CRungeKutta

This class is the ODE solver in terms Runge-Kutta Method ODE45

File name: CRungeKutta.h Author: Shuo Wang Email: shuow.nosp@m.ang..nosp@m.learn.nosp@m.er@g.nosp@m.mail..nosp@m.com

Last change: 07, July 2014

Typedef Documentation

◆ EvalDeriv

typedef void(* EvalDeriv) (const size_t *, const C_FLOAT64 *, const C_FLOAT64 *, C_FLOAT64 *)

Callback function to evaluate derivatives for a given state

Parameters
constsize_t * pStateSize
constC_FLOAT64 * pTime
constC_FLOAT64 * pStateVariables,
C_FLOAT64* pDerivatives

◆ EvalRoot

typedef void(* EvalRoot) (const size_t *, const C_FLOAT64 *, const C_FLOAT64 *, const size_t *, C_FLOAT64 *)

Callback function to evaluate root values for a given state

Parameters
constsize_t * pStateSize
constC_FLOAT64 * pTime
constC_FLOAT64 * pStateVariables,
constsize_t * pRootSize,
C_FLOAT64* pRoots