Active physical coordinates and mapping derivatives. More...
#include <coord.h>
Public Member Functions | |
Coord () | |
Default constructor. | |
Coord (const Map *mp, Mtbl *(*construct)(const Map *)) | |
Constructor from a mapping and a method. | |
~Coord () | |
Destructor. | |
void | set (const Map *mp, Mtbl *(*construct)(const Map *)) |
Semi-constructor from a mapping and a method. | |
void | fait () const |
Computes, at each point of the grid, the value of the coordinate or mapping derivative represented by the Coord . | |
void | del_t () const |
Logical destructor (deletes the Mtbl member *c ). | |
Public Attributes | |
const Map * | mp |
Mapping on which the Coord is defined. | |
Mtbl *(* | met_fait )(const Map *) |
Function to compute the coordinate. | |
Mtbl * | c |
The coordinate values at each grid point. | |
Private Member Functions | |
Coord (const Coord &) | |
Copy constructor (private and not implemented to make Coord a non-copyable class). | |
void | operator= (const Coord &) |
Assignement operator (private and not implemented to make Coord a non-copyable class). | |
Friends | |
ostream & | operator<< (ostream &, const Coord &) |
Display. |
Active physical coordinates and mapping derivatives.
()
Definition at line 86 of file coord.h.
Coord::Coord | ( | const Coord & | ) | [private] |
Copy constructor (private and not implemented to make Coord
a non-copyable class).
void Coord::del_t | ( | ) | const |
void Coord::fait | ( | ) | const |
void Coord::operator= | ( | const Coord & | ) | [private] |
Assignement operator (private and not implemented to make Coord
a non-copyable class).
Semi-constructor from a mapping and a method.
This function is intended to complete the construction started by the default constructor.
mp | [input] Mapping on which the Coord is defined | |
construct | [input] Method to construct the Coord , i.e. to initialize the Mtbl which contains the value of the coordinate or mapping derivative represented by the Coord |
ostream& operator<< | ( | ostream & | , | |
const Coord & | ||||
) | [friend] |
Display.
Mtbl*(* Coord::met_fait)(const Map *) |
Function to compute the coordinate.