Numerical Tools  1.0
Numerical tools from SciPy and Numerical Methods in Physics with Python
NumericalTools.OdeSolver Class Reference

A base class for the SciPy ODE solver. More...

Inherited by NumericalTools.RungeKutta.

Public Member Functions

 OdeSolver (Ivp.DiffEqFunction fun, double t0, double[] y0, double t_bound, bool vectorized, bool support_complex, params object[] args)
 
void SetTbound (double t_bound)
 NBP addition to allow t_bound to increased when running in realtime integration mode. More...
 
string Step ()
 
DenseOutput Dense_output ()
 

Public Attributes

string TOO_SMALL_STEP = "Required step size is less than spacing between numbers."
 
double t_old = double.NaN
 
double t
 
double direction
 
int nfev
 
int njev
 
int nlu
 
string status
 
double [] y
 
object [] args
 

Protected Member Functions

double Step_size ()
 
virtual DenseOutput DenseOutputImpl ()
 

Protected Attributes

double t_bound
 
bool vectorized = false
 
Ivp.DiffEqFunction fun
 
Ivp.DiffEqFunction fun_single
 
Ivp.DiffEqFunction fun_vectorized
 
int n
 
virtual bool
 

Detailed Description

A base class for the SciPy ODE solver.

Member Function Documentation

◆ SetTbound()

void NumericalTools.OdeSolver.SetTbound ( double  t_bound)
inline

NBP addition to allow t_bound to increased when running in realtime integration mode.

Parameters
t_bound

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