5#ifndef DUNE_DGFEnTITYKEY_HH
6#define DUNE_DGFEnTITYKEY_HH
22 DGFEntityKey (
const std :: vector< A > &key,
bool setOrigKey =
true );
24 int N,
int offset,
bool setOrigKey =
true );
32 void orientation (
int base, std :: vector< std :: vector< double > > &vtx );
33 void print( std :: ostream &out = std :: cerr )
const;
40 std :: vector< A > key_, origKey_;
87 inline static int nofFaces (
int dim,
const std::vector< unsigned int > &element );
88 inline static int faceSize (
int dim,
bool simpl );
91 generateFace (
int dim,
const std::vector< unsigned int > &element,
int f );
96 generateCubeFace(
const std::vector< unsigned int > &element,
int f );
100 generateSimplexFace (
const std::vector< unsigned int > &element,
int f );
111 switch( element.size() )
121 switch( element.size() )
145 return (simpl ? 3 : 4);
Include standard header files.
Definition: agrid.hh:60
Definition: entitykey.hh:21
bool operator<(const DGFEntityKey< A > &k) const
Definition: entitykey.hh:53
DGFEntityKey< A > & operator=(const DGFEntityKey< A > &k)
Definition: entitykey_inline.hh:64
bool origKeySet() const
Definition: entitykey.hh:61
int size() const
Definition: entitykey.hh:75
void orientation(int base, std ::vector< std ::vector< double > > &vtx)
Definition: entitykey_inline.hh:78
const A & origKey(int i) const
Definition: entitykey.hh:68
DGFEntityKey(const std::vector< A > &key, int N, int offset, bool setOrigKey=true)
void print(std ::ostream &out=std ::cerr) const
Definition: entitykey_inline.hh:105
DGFEntityKey(const std ::vector< A > &key, bool setOrigKey=true)
Definition: entitykey_inline.hh:19
const A & operator[](int i) const
Definition: entitykey.hh:46
Definition: entitykey.hh:86
static DGFEntityKey< unsigned int > generateFace(int dim, const std::vector< unsigned int > &element, int f)
Definition: entitykey_inline.hh:145
static int faceSize(int dim, bool simpl)
Definition: entitykey.hh:136
static int nofFaces(int dim, const std::vector< unsigned int > &element)
Definition: entitykey.hh:104