#include <odenum.h>
Inheritance diagram for ODE_NUMERIC:
Public Methods | |
ODE_NUMERIC ( int n, FCN fcn, const string & name ) | |
Constructor. More... | |
void | SetTend ( double tEnd ) |
Sets the end point. More... | |
void | SetAtol ( double abstol ) |
Sets absolute error tolerance. More... | |
void | SetRtol ( double reltol ) |
Sets relative error tolerance. More... | |
void | SetTcur ( double t ) |
Sets the current integration point. More... | |
void | SetInitEncl ( const INTERVAL_VECTOR & Y ) |
Sets an priori enclosure. More... | |
void | SetTightEncl ( const INTERVAL_VECTOR & Y ) |
Sets a tight enclosure. More... | |
void | SetSolution ( const PtrSolution Sol ) |
Sets a solution object. More... | |
double | GetTend () const |
Returns the end point. | |
double | GetAtol () const |
Returns the absolute tolerance. | |
double | GetRtol () const |
Returns the relative tolerance. | |
double | GetTcur () const |
Returns the current integration point. | |
double | GetTprev () const |
Returns the previous integration point. | |
const INTERVAL_VECTOR& | GetInitEncl () const |
Returns the initial enclosure. | |
const INTERVAL_VECTOR& | GetTightEncl () const |
Returns the tight enclosure. | |
const PtrSolution | GetSolution () const |
Returns a pointer to the solution object. | |
virtual void | LoadProblemParam ( int ParamSet ) |
Set problem parameters. More... | |
void | DisplaySolution ( int comp, const char *file = 0 ) const |
Plot a solution component. More... | |
void | DisplayPhase ( int comp1, int comp2, const char * file = 0 ) const |
Produce a phase plot. More... | |
virtual | ~ODE_NUMERIC () |
Destructor. |
This class inherits from ODE_PROBLEM the specification of the IVP problem and provides the end integration point, absolute and relative error tolerances, and an object for storing the solution.
|
Constructor. It sets the size of the problem, the function for computing the right side, a name for the problem, and default values for the absolute and relative error tolerances.
|
|
Destructor.
|
|
Sets the end point.
|
|
Sets absolute error tolerance.
|
|
Sets relative error tolerance.
|
|
Sets the current integration point.
|
|
Sets an priori enclosure.
|
|
Sets a tight enclosure.
|
|
Sets a solution object.
|
|
Returns the end point.
|
|
Returns the absolute tolerance.
|
|
Returns the relative tolerance.
|
|
Returns the current integration point.
|
|
Returns the previous integration point.
|
|
Returns the initial enclosure.
|
|
Returns the tight enclosure.
|
|
Returns a pointer to the solution object.
|
|
Set problem parameters. Depending on the value of the parameter, different sets of parameters, e.g. initial condition, integration interval, and tolerances, can be set.
|
|
Plot a solution component. This function plots a solution component versus the time and displays the plot on the screen (default). If a file name is specified, the plot is saved in an encapsulated postscript file under this file name.
|
|
Produce a phase plot.
This function plots
|