The Conley-Morse Graphs Software
Public Member Functions | Private Member Functions | List of all members
MapTight Class Referenceabstract

This is an abstract class which defines the interface to other classes that describe maps for the use for the program "cmgraphs.cpp". More...

#include <maptight.h>

Inheritance diagram for MapTight:
MapType MapOdeTimeT MapInf MapLorenz MapOdeApprox MapVanderPol MapDuffingApprox MapLorenzApprox MapRoesslerApprox MapVanderPolApprox

Public Member Functions

 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

 MapTight (const MapTight &)
 The copy constructor should not be used. More...
 
MapTightoperator= (const MapTight &)
 The assignment operator should not be used. More...
 

Detailed Description

This is an abstract class which defines the interface to other classes that describe maps for the use for the program "cmgraphs.cpp".

Definition at line 53 of file maptight.h.

Constructor & Destructor Documentation

◆ MapTight() [1/2]

MapTight::MapTight ( )
inline

The default constructor of an object which describes a map.

Definition at line 91 of file maptight.h.

◆ ~MapTight()

MapTight::~MapTight ( )
inline

The destructor of an object which describe a map.

Definition at line 96 of file maptight.h.

◆ MapTight() [2/2]

MapTight::MapTight ( const MapTight )
inlineprivate

The copy constructor should not be used.

Definition at line 101 of file maptight.h.

Member Function Documentation

◆ compute() [1/2]

void MapTight::compute ( const double *  xleft,
const double *  xright,
double *  yleft,
double *  yright,
int  dim,
const spcCoord coord,
int  subdiv 
) const
inlinevirtual

Computes an interval bounding box for the image of a given box.

This function should not be used but is provided because of the interface requirements. A function that produces a rectangular set should be used instead.

Implements MapType.

Reimplemented in MapOdeApprox.

Definition at line 111 of file maptight.h.

References compute(), and resetRounding().

Referenced by compute().

◆ compute() [2/2]

virtual void MapTight::compute ( const IntervalVectorType x,
RectSetType y,
int  dim,
const spcCoord coord,
int  subdiv 
) const
pure virtual

Computes a rectangular set that is an outer enclosure of the image of the given box.

Whenever this information is relevant, the integer coordinates of the box are provided, as well as the subdivision level of the full phase space box; otherwise the pointer to the coordinates is set to 0, and the subdivision level is undefined.

Implemented in MapOdeTimeT.

◆ operator=()

MapTight & MapTight::operator= ( const MapTight )
inlineprivate

The assignment operator should not be used.

Definition at line 106 of file maptight.h.


The documentation for this class was generated from the following file: