dune-alugrid  2.6-git
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
Dune::SpaceFillingCurveOrdering< Coordinate > Class Template Reference

#include <dune/alugrid/common/hsfc.hh>

Public Types

enum  CurveType { ZCurve , Hilbert , None }
 

Public Member Functions

 SpaceFillingCurveOrdering (const CurveType &curveType, const Coordinate &lower, const Coordinate &upper, const CollectiveCommunication &comm=CollectiveCommunication(Dune::MPIHelper::getCommunicator()))
 
template<class OtherComm >
 SpaceFillingCurveOrdering (const CurveType &curveType, const Coordinate &lower, const Coordinate &upper, const OtherComm &otherComm)
 
double index (const Coordinate &point) const
 

Static Public Attributes

static const CurveType DefaultCurve = ZCurve
 

Protected Attributes

ZCurveOrderingType zCurve_
 
HilbertOrderingType hilbert_
 
const CurveType curveType_
 

Member Enumeration Documentation

◆ CurveType

template<class Coordinate >
enum Dune::SpaceFillingCurveOrdering::CurveType
Enumerator
ZCurve 
Hilbert 
None 

Constructor & Destructor Documentation

◆ SpaceFillingCurveOrdering() [1/2]

template<class Coordinate >
Dune::SpaceFillingCurveOrdering< Coordinate >::SpaceFillingCurveOrdering ( const CurveType curveType,
const Coordinate &  lower,
const Coordinate &  upper,
const CollectiveCommunication &  comm = CollectiveCommunication( Dune::MPIHelper::getCommunicator() ) 
)
inline

◆ SpaceFillingCurveOrdering() [2/2]

template<class Coordinate >
template<class OtherComm >
Dune::SpaceFillingCurveOrdering< Coordinate >::SpaceFillingCurveOrdering ( const CurveType curveType,
const Coordinate &  lower,
const Coordinate &  upper,
const OtherComm &  otherComm 
)
inline

Member Function Documentation

◆ index()

template<class Coordinate >
double Dune::SpaceFillingCurveOrdering< Coordinate >::index ( const Coordinate &  point) const
inline

Member Data Documentation

◆ curveType_

template<class Coordinate >
const CurveType Dune::SpaceFillingCurveOrdering< Coordinate >::curveType_
protected

◆ DefaultCurve

template<class Coordinate >
const CurveType Dune::SpaceFillingCurveOrdering< Coordinate >::DefaultCurve = ZCurve
static

◆ hilbert_

template<class Coordinate >
HilbertOrderingType Dune::SpaceFillingCurveOrdering< Coordinate >::hilbert_
protected

◆ zCurve_

template<class Coordinate >
ZCurveOrderingType Dune::SpaceFillingCurveOrdering< Coordinate >::zCurve_
protected

The documentation for this class was generated from the following file: