Blockstructured Adaptive Mesh Refinement in object-oriented C++
#include <PeanoHilbert.h>
Inheritance diagram for PeanoHilbert:
Public Methods | |
PeanoHilbert () | |
Default Constructor. | |
PeanoHilbert (const int dim, const int levs) | |
Other Constructors. | |
PeanoHilbert (PeanoHilbert const &other) | |
The copy constructor. | |
void | SetIndex (const int index, const int idxlev) |
void | SetIndex (const int index, const int idxlev, const int nlev) |
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. | |
void | SetBox (const int lev, const int nlev) |
PeanoHilbert * | GetMax (const int lev, const int nlev) const |
Get the maximum index in the GridUnit whose base is maintained by "this". | |
void | SetMax (const int lev, const int nlev) |
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 * | GetCoords (const int lev=1) const |
int | GetCardinality (const int dim, const int lev) const |
number of cells at a level. | |
int | GetCardinality (const int lev) const |
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.
Definition at line 21 of file PeanoHilbert.h.
Quickstart Users Guide Programmers Reference Installation Examples Download
AMROC Main Home Contactlast update: 06/01/04