#include <odeprobl.h>
Inheritance diagram for ODE_PROBLEM:
Public Methods | |
ODE_PROBLEM ( int n, FCN fcn, const string & name ) | |
Constructor. More... | |
int | GetSize () const |
Returns the problem size. | |
void | SetT0 ( double t0 ) |
Sets the initial time,
. | |
void | SetInitCond ( const INTERVAL_VECTOR & Y ) |
Sets an initial condition given by an interval vector. More... | |
void | SetInitCond ( const PtrSolution IC ) |
Sets a pointer to an initial condition object. More... | |
double | GetT0 () const |
Returns the initial time. More... | |
const INTERVAL_VECTOR& | GetInitCond () const |
Returns the interval vector enclosing the initial condition. | |
const PtrSolution | GetPtrInitCond () const |
Returns a pointer to the initial condition object. | |
void | ConstCoeff ( bool cc ) |
Indicates if the problem is constant coefficient. More... | |
bool | ExactSol () const |
Does the problem have an exact solution. More... | |
bool | PointInitCond () const |
Is the initial condition a point vector. More... | |
bool | ScalarProblem () const |
Is the problem scalar. More... | |
bool | ConstCoeff () const |
Is the problem constant coefficient. More... | |
void | CompRightSide ( INTERVAL_VECTOR & YP, const INTERVAL_VECTOR & Y ) const |
Function for computing the right side. More... | |
void | SetCompExactSol ( EXACT_SOL f ) |
Sets a function for computing an exact solution. More... | |
void | CompExactSol ( INTERVAL_VECTOR & Y, const INTERVAL & t ) |
A function for computing an exact solution. More... | |
virtual | ~ODE_PROBLEM () |
Destructor. |
This class specifies the initial condition and the function for computing the right side.
|
Constructor.
|
|
Destructor.
|
|
Returns the problem size.
|
|
Sets the initial time, .
|
|
Sets an initial condition given by an interval vector. This function sets at . If the initial condition is a point vector, it has to be stored in an interval vector with each component being a point interval.
|
|
Sets a pointer to an initial condition object. This object can be of type SOLUTION, or of type derived from solution, e.g. PARALL.
|
|
Returns the initial time. This function returns the value for that is set in the most recent call to SetT0(), or 0, if SetT0() has not been called. |
|
Returns the interval vector enclosing the initial condition.
|
|
Returns a pointer to the initial condition object.
|
|
Indicates if the problem is constant coefficient.
|
|
Does the problem have an exact solution.
|
|
Is the initial condition a point vector.
|
|
Is the problem scalar.
|
|
Is the problem constant coefficient.
|
|
Function for computing the right side. This function computes the right side of by calling the function specified in the constructor.
|
|
Sets a function for computing an exact solution.
|
|
A function for computing an exact solution. This function computes an enclosure on the true solution by calling the function that is set in SetCompExactSol().
|