#include <baseclass.hxx>
Inheritance diagram for Multivac::CMesh< T >:
Public Member Functions | |
CMesh () throw () | |
Default constructor. | |
CMesh (T Xmin, T Xmax, T Ymin, T Ymax) throw () | |
Main constructor. | |
virtual | ~CMesh () throw () |
Destructor. | |
T | GetXmin () const |
Returns the minimum abscissa. | |
T | GetXmax () const |
Returns the maximum abscissa. | |
T | GetYmin () const |
Returns the minimum ordinate. | |
T | GetYmax () const |
Returns the maximum ordinate. | |
void | SetXmin (T Xmin_) |
Sets the minimum abscissa. | |
void | SetXmax (T Xmax_) |
Sets the maximum abscissa. | |
void | SetYmin (T Ymin_) |
Sets the minimum ordinate. | |
void | SetYmax (T Ymax_) |
Sets the maximum ordinate. | |
T | GetDelta_x () const |
Returns the spacestep along (x'x). | |
void | SetDelta_x (T Delta_x_) |
Sets the spacestep along (x'x). | |
int | GetNx () const |
Returns the number of points along (x'x). | |
T | GetDelta_y () const |
Returns the space step along (y'y). | |
void | SetDelta_y (T Delta_y_) |
Sets the spacestep along (y'y). | |
int | GetNy () const |
Returns the number of points along (y'y). | |
void | GetClosestUpperPoint (T &x, T &y) |
Returns the closest "upper" mesh-point to (x, y). | |
virtual void | Save (string XFile, string YFile) const=0 |
virtual void | SaveNonOrthogonalMesh (string PointsFile, string EdgesFile, string TrianglesFile) const=0 |
Protected Attributes | |
T | Xmin |
Minimum abscissa. | |
T | Xmax |
Maximum abscissa. | |
T | Ymin |
Minimum ordinate. | |
T | Ymax |
Maximum ordinate. | |
int | Nx |
Number of points along (x'x). | |
T | Delta_x |
Space step along (x'x). | |
int | Ny |
Number of points along (y'y). | |
T | Delta_y |
Space step along (y'y). |
Defines meshes interface. All meshes must be defined in the same way.
|
Main constructor.
|
|
Returns the closest "upper" mesh-point to (x, y). Let B = (x_B, y_B) be the closest mesh-point to A = (x, y) such that (x_B > x) and (y_B > y). On exit, (x, y) = B. |
|
Returns the spacestep along (x'x).
|
|
Returns the space step along (y'y).
|
|
Returns the number of points along (x'x).
|
|
Returns the number of points along (y'y).
|
|
Returns the maximum abscissa.
|
|
Returns the minimum abscissa.
|
|
Returns the maximum ordinate.
|
|
Returns the minimum ordinate.
|
|
Sets the spacestep along (x'x).
|
|
Sets the spacestep along (y'y).
|
|
Sets the maximum abscissa.
|
|
Sets the minimum abscissa.
|
|
Sets the maximum ordinate.
|
|
Sets the minimum ordinate.
|