vtf-logo

PeanoHilbert Class Reference

Implementation of Peano-Hilbert space-filling curve. More...

#include <PeanoHilbert.h>

Inheritance diagram for PeanoHilbert:

sfcIndex BitVec List of all members.

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.
PeanoHilbertGetBox (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.
PeanoHilbertGetMax (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

Detailed Description

Implementation of Peano-Hilbert space-filling curve.

Class PeanoHilbert defines the Peano-Hilbert sfc mapping. This class is derived from sfcIndex and defines mapping and inverse mapping routines.

Author:
Manish Parashar


The documentation for this class was generated from the following files:
Generated on Fri Aug 24 13:00:29 2007 for AMROC's Hierachical Data Structures - by  doxygen 1.4.7