#include <PeanoHilbert.h>
Inheritance diagram for PeanoHilbert:
Public Member Functions | |
PeanoHilbert () | |
Default Constructor. | |
PeanoHilbert (const int dim, const int levs) | |
Other Constructors. | |
PeanoHilbert (PeanoHilbert const &other) | |
The copy constructor. | |
void | Map (const int *coords) |
Generates the sfcIndex corresponding to "c". | |
void | Invert (int *coords, const int index) |
Generates the sfcdim coordinate values corresponding to "index". | |
void | Invert (int *coords, const int index, const int idxlev) |
Generates the sfcdim coordinate values corresponding to index "index" at level "idxlevel". | |
void | Invert (int *coords, const int index, const int idxlev, const int nlev) |
Generates the sfcdim coordinate values corresponding to "index" at "idxlevel"and for "nlev levels. | |
PeanoHilbert * | GetBox (const int lev, const int nlev) const |
Get the bounding box for the GridUnit whose base is maintained by "this" This routine is used to get the bounding box of the GridUnit whose baseindex is maintained by this. | |
PeanoHilbert * | GetMax (const int lev, const int nlev) const |
Get the maximum index in the GridUnit whose base is maintained by "this". | |
void | ResetBase (const int lev, const int nlev) |
Set the index to the baseindex at that level. | |
void | GetCoords (int *coords, const int lev=1) const |
Returns a copy of the coordinates in "c" at level "lev" of refinement. | |
int | GetCardinality (const int dim, const int lev) const |
number of cells at a level | |
int | GetDimCardinality (const int lev) const |
essentially the step size at a level | |
int | GetDimMax (const int lev) const |
max value of an index along a dimension |
Class PeanoHilbert defines the Peano-Hilbert sfc mapping. This class is derived from sfcIndex and defines mapping and inverse mapping routines.