The Conley-Morse Graphs Software
|
An approximate time-t map for the Vanderpol equations. More...
#include <m_duffing_a.h>
Public Member Functions | |
MapDuffingApprox () | |
The constructor of a Vanderpol map object. More... | |
Public Member Functions inherited from MapOdeApprox | |
MapOdeApprox (double step, int nSteps, int nSamples, double margin=0.01) | |
The constructor in which one sets the step size and the number of steps for the non-rigorous integration, the number of sample points in each direction, and the margin to add around the box (as a fraction of its actual width). More... | |
~MapOdeApprox () | |
The destructor. More... | |
void | setParam (const double *left, const double *right, int n) |
Sets the parameters to the given intervals defined by their left and right coordinates. More... | |
void | compute (const double *xleft, const double *xright, double *yleft, double *yright, int dim, const spcCoord *coord, int subdiv) const |
Computes the image of a box whose left and right coordinates are given. More... | |
Public Member Functions inherited from MapOdeTimeT | |
MapOdeTimeT (const std::string &formula, int order, double step, int n) | |
The constructor which takes the formula for the ODE in the format used in the CAPD library. More... | |
~MapOdeTimeT () | |
The destructor. More... | |
void | setParam (const double *left, const double *right, int n) |
Sets the parameters to the given intervals defined by their left and right coordinates. More... | |
void | compute (const IntervalVectorType &x, RectSetType &y, int dim, const spcCoord *coord, int subdiv) const |
Computes a rectangular set that is an outer enclosure of the image of the given box. More... | |
void | setBoundingBox (const double *left, const double *right, int dim, int stepsBetweenChecks) |
Sets a bounding box for the area of interest. More... | |
void | setDefaultBoundingBox () |
Sets the bounding box to the default one, as defined when setting the phase space. More... | |
bool | adjust (bool successful, int subdiv) |
Adjusts parameters if necessary after a successful computation or after an unsuccessful computation of the graph of the map at a specific subdivision depth. More... | |
std::string | getOptInfo () const |
Gets a single line of information on optimization of the computation of the map, so that it can be used by maps created for the same and nearby parameter values. More... | |
void | useOptInfo (const std::string &info) |
Uses a prevously saved line of information on optimization of the computation of the map for the same or nearby parameter values. More... | |
void | saveInternals (chomp::multiwork::mwData &data) const |
Saves the internal parameters and other data of the map to the mwData structure. More... | |
void | loadInternals (chomp::multiwork::mwData &data) |
Retrieves the internal paramters and other data of the map from the mwData structure. More... | |
double | getTimeStep (int subdiv) const |
Returns an approximation of the currently recommended integration time t for the time-t map at the given subdivision depth. More... | |
Public Member Functions inherited from MapTight | |
MapTight () | |
The default constructor of an object which describes a map. More... | |
~MapTight () | |
The destructor of an object which describe a map. More... | |
void | compute (const double *xleft, const double *xright, double *yleft, double *yright, int dim, const spcCoord *coord, int subdiv) const |
Computes an interval bounding box for the image of a given box. More... | |
virtual void | compute (const IntervalVectorType &x, RectSetType &y, int dim, const spcCoord *coord, int subdiv) const =0 |
Computes a rectangular set that is an outer enclosure of the image of the given box. More... | |
Public Member Functions inherited from MapType | |
MapType () | |
The default constructor of an object which describes a map. More... | |
virtual | ~MapType () |
The destructor of an object which describe a map. More... | |
virtual void | setParam (const double *left, const double *right, int n) |
Sets the parameters to the given intervals defined by their left and right coordinates. More... | |
const double & | getLeftParam (int n) const |
Returns the left value of the given parameter. More... | |
const double & | getRightParam (int n) const |
Returns the right value of the given parameter. More... | |
virtual void | compute (const double *xleft, const double *xright, double *yleft, double *yright, int dim, const spcCoord *coord, int subdiv) const =0 |
Computes the image of a box whose left and right coordinates are given. More... | |
void | operator() (const IntervalType *x, IntervalType *y, int dim, const spcCoord *coord, int subdiv) const |
An interface to the function 'compute' based on intervals. More... | |
bool | adjust (bool successful, int subdiv) |
Adjusts parameters if necessary after a successful computation or after an unsuccessful computation of the graph of the map at a specific subdivision level. More... | |
std::string | getOptInfo () const |
Gets a single line of information on optimization of the computation of the map, so that it can be used by maps created for the same and nearby parameter values. More... | |
void | useOptInfo (const std::string &info) |
Uses a prevously saved line of information on optimization of the computation of the map for the same or nearby parameter values. More... | |
void | saveInternals (chomp::multiwork::mwData &data) const |
Saves the internal parameters and other data of the map to the mwData structure. More... | |
void | loadInternals (chomp::multiwork::mwData &data) |
Retrieves the internal paramters and other data of the map from the mwData structure. More... | |
virtual double | getTimeStep (int subdiv) const |
Returns the time step, which is 1 for a map, or the time t of integration in case of a time-t map of a flow. More... | |
virtual std::string | name () const |
Returns the name of the map. More... | |
Private Member Functions | |
void | vectorField (double, const double *x, double *y, int dim) const |
The vector field. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from MapOdeTimeT | |
template<class Array1 , class Array2 > | |
static void | setPhaseSpace (const Array1 &offset, const Array2 &width, int dim, int subdivDepth, int stepsBetweenChecks=2) |
Sets the phase space for an automatic generation of bounding boxes. More... | |
Protected Attributes inherited from MapOdeTimeT | |
double * | boundingBox |
A bounding box for the area where the trajectories are computed. More... | |
int | boundingBoxDim |
The dimension of the bounding box. More... | |
An approximate time-t map for the Vanderpol equations.
Definition at line 48 of file m_duffing_a.h.
|
inline |
The constructor of a Vanderpol map object.
Definition at line 62 of file m_duffing_a.h.
|
inlineprivatevirtual |
The vector field.
Implements MapOdeApprox.
Definition at line 68 of file m_duffing_a.h.
References MapType::getLeftParam().