template<int N> class qoden2
A second order quantized ODE solver based on the 2nd order Adams-Bashforth
method.
Public Methods
-
qoden2()
- Create a solver for a set of N ODEs
-
qoden2(const qoden2<N>& src)
- Copy constructor
-
const qoden2<N> & operator=(const qoden2<N>& src)
- Assigment operator
-
void init(const double* q0, const double* dq0)
-
Initial the integrator set.
-
void init(unsigned j, double q0, double dq0 = 0.0)
- Initialize the jth integrator
-
void integ(double dt, const double* dq_)
-
Integrate over dt (dt <= ta()) units of time with derivatives dq.
-
void integ(double dt)
-
Integrate over dt (dt <= ta()) units of time with unchanged derivatives.
-
double out(unsigned j = 0) const
-
Return the quantized output for integrator j at time tL + ta(),
where tL was the time of the last state change
-
double out(unsigned j, double dt) const
- Return the quantized output for integrator j at time tL + dt, dt <= ta()
-
double state(unsigned j = 0) const
- Return the state of the integrator at time tL
-
double qstate(unsigned j = 0) const
- Returns the quantized state of the integrator
-
double ta() const
- The time advance function for the ODE set.
-
void setParams(unsigned j, double D_)
- Set the parameters for iterator j (see qintg)
-
void setParams(double D_)
- Set the parameters for all integrators (see qintg)
-
~qoden2()
Documentation
A second order quantized ODE solver based on the 2nd order Adams-Bashforth
method. The qoden uses a set of quantized integrators
to provide a solution to a set of ordinary differential equations.
This solver differs from the qode solver in that it uses a box in
N-dimensional space to determine significant events.
qoden2()
- Create a solver for a set of N ODEs
qoden2(const qoden2<N>& src)
- Copy constructor
const qoden2<N> & operator=(const qoden2<N>& src)
- Assigment operator
void init(const double* q0, const double* dq0)
-
Initial the integrator set. q0 is the initial state, dq0 are
the initial derivatives.
void init(unsigned j, double q0, double dq0 = 0.0)
- Initialize the jth integrator
void integ(double dt, const double* dq_)
-
Integrate over dt (dt <= ta()) units of time with derivatives dq.
void integ(double dt)
-
Integrate over dt (dt <= ta()) units of time with unchanged derivatives.
double out(unsigned j = 0) const
-
Return the quantized output for integrator j at time tL + ta(),
where tL was the time of the last state change
double out(unsigned j, double dt) const
- Return the quantized output for integrator j at time tL + dt, dt <= ta()
double state(unsigned j = 0) const
- Return the state of the integrator at time tL
double qstate(unsigned j = 0) const
- Returns the quantized state of the integrator
double ta() const
- The time advance function for the ODE set.
void setParams(unsigned j, double D_)
- Set the parameters for iterator j (see qintg)
void setParams(double D_)
- Set the parameters for all integrators (see qintg)
~qoden2()
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.