The Vish Visualization Shell 0.3
Vish
Oscillator Class Reference
Inheritance diagram for Oscillator:
Traum::dop853< OscillatorDiffEquation > OscillatorDiffEquation Traum::IntegratorBase

Public Member Functions

 Oscillator ()
Public Member Functions inherited from Traum::dop853< OscillatorDiffEquation >
real abstol (int i) const
 Get the absolute tolerance for given index.
success_code advance (bool backward=false) override
 Advance the solution by one step, producing dense output.
real dop (int i, const real &s) const
 Dense output function, returns the exact value of the ith solution at the specified x value.
 dop853 ()
 Constructor, does nothing.
const real & dx () const
 Predicted step size of the last accepted step.
bool EnableDenseOutput ()
 Enable computation of dense output.
real evalDOP (int i, const real &s) const
 Evaluate the dense output function with a parameter relative to the last integration interval.
const real & f (int i) const
 Return the solution of the $i^{th}$ component.
void initialize (int n, const real &x, const real *y)
real reltol (int i) const
 Get the relative tolerance for given index.
void settol (const real &abstol=1E-10, const real &reltol=1E-10)
 Set the absolute and relative tolerance globally for all indices (1E-10 by default).
long step_nr () const
 Return the current integration step number, which is increased with each call to advance().
const real & x0 () const
 Return the last integration parameter.
const real & x1 () const
 Return the current integration parameter.
 ~dop853 ()
 Destructor.

Constructor & Destructor Documentation

◆ Oscillator()

Oscillator::Oscillator ( )
inline
Parameters
nthe dimension of the equation system