dune-spgrid  2.7
Public Member Functions | Static Public Attributes | List of all members
Dune::SPDirection< dim > Class Template Reference

#include <dune/grid/spgrid/direction.hh>

Public Member Functions

 SPDirection (const SPMultiIndex< dimension > &id)
 
 SPDirection (unsigned long bits)
 
bool operator== (const This &other) const
 
bool operator!= (const This &other) const
 
unsigned int operator[] (int i) const
 
int mydimension () const
 
int codimension () const
 
unsigned long bits () const
 

Static Public Attributes

static const int dimension = dim
 

Constructor & Destructor Documentation

◆ SPDirection() [1/2]

template<int dim>
Dune::SPDirection< dim >::SPDirection ( const SPMultiIndex< dimension > &  id)
inlineexplicit

◆ SPDirection() [2/2]

template<int dim>
Dune::SPDirection< dim >::SPDirection ( unsigned long  bits)
inlineexplicit

Member Function Documentation

◆ bits()

template<int dim>
unsigned long Dune::SPDirection< dim >::bits ( ) const
inline

◆ codimension()

template<int dim>
int Dune::SPDirection< dim >::codimension ( ) const
inline

◆ mydimension()

template<int dim>
int Dune::SPDirection< dim >::mydimension ( ) const
inline

◆ operator!=()

template<int dim>
bool Dune::SPDirection< dim >::operator!= ( const This other) const
inline

◆ operator==()

template<int dim>
bool Dune::SPDirection< dim >::operator== ( const This other) const
inline

◆ operator[]()

template<int dim>
unsigned int Dune::SPDirection< dim >::operator[] ( int  i) const
inline

Member Data Documentation

◆ dimension

template<int dim>
const int Dune::SPDirection< dim >::dimension = dim
static

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