dune-spgrid 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Dune::SPReferenceCube< ct, dim > Class Template Reference

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

Public Types

typedef ct ctype
 
typedef FieldVector< ctype, dimension > GlobalVector
 
typedef SPMultiIndex< dimension > MultiIndex
 

Public Member Functions

 SPReferenceCube ()
 
const MultiIndex & subId (const int codim, const int i) const
 
int count (const int codim) const
 

Static Public Member Functions

static GlobalVector corner (int i)
 return i-th corner
 
static GlobalVector center ()
 return center
 

Static Public Attributes

static const int dimension = dim
 
static const int numCorners = (1 << dimension)
 
static const int numFaces = 2*dimension
 

Member Typedef Documentation

◆ ctype

template<class ct , int dim>
typedef ct Dune::SPReferenceCube< ct, dim >::ctype

◆ GlobalVector

template<class ct , int dim>
typedef FieldVector< ctype, dimension > Dune::SPReferenceCube< ct, dim >::GlobalVector

◆ MultiIndex

template<class ct , int dim>
typedef SPMultiIndex< dimension > Dune::SPReferenceCube< ct, dim >::MultiIndex

Constructor & Destructor Documentation

◆ SPReferenceCube()

template<class ct , int dim>
Dune::SPReferenceCube< ct, dim >::SPReferenceCube
inline

Member Function Documentation

◆ center()

template<class ct , int dim>
SPReferenceCube< ct, dim >::GlobalVector Dune::SPReferenceCube< ct, dim >::center
inlinestatic

return center

◆ corner()

template<class ct , int dim>
SPReferenceCube< ct, dim >::GlobalVector Dune::SPReferenceCube< ct, dim >::corner ( int  i)
inlinestatic

return i-th corner

◆ count()

template<class ct , int dim>
int Dune::SPReferenceCube< ct, dim >::count ( const int  codim) const
inline

◆ subId()

template<class ct , int dim>
const MultiIndex & Dune::SPReferenceCube< ct, dim >::subId ( const int  codim,
const int  i 
) const
inline

Member Data Documentation

◆ dimension

template<class ct , int dim>
const int Dune::SPReferenceCube< ct, dim >::dimension = dim
static

◆ numCorners

template<class ct , int dim>
const int Dune::SPReferenceCube< ct, dim >::numCorners = (1 << dimension)
static

◆ numFaces

template<class ct , int dim>
const int Dune::SPReferenceCube< ct, dim >::numFaces = 2*dimension
static

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