dune-grid
2.1.1
|
global id set for ALU3dGrid More...
#include <dune/grid/alugrid/3d/indexsets.hh>
Classes | |
struct | BuildIds< d, hexa > |
struct | BuildIds< d, tetra > |
Public Types | |
typedef GridType::Traits::GlobalIdType | IdType |
export type of id | |
Public Member Functions | |
ALU3dGridGlobalIdSet (const GridType &grid) | |
create id set, only allowed for ALU3dGrid | |
virtual | ~ALU3dGridGlobalIdSet () |
void | updateIdSet () |
void | print () const |
template<class IterType > | |
void | checkId (const IdType ¯oId, const IterType &idIter) const |
void | uniquenessCheck () const |
void | setChunkSize (int chunkSize) |
void | buildIdSet () |
IdType | buildMacroVertexId (const VertexType &item) |
IdType | buildMacroEdgeId (const HEdgeType &item) |
IdType | buildMacroFaceId (const HFaceType &item) |
IdType | buildMacroElementId (const HElementType &item) |
template<int cd> | |
IdType | createId (const typename ImplTraitsType::template Codim< cd >::InterfaceType &item, const IdType &creatorId, int nChild) |
void | buildElementIds (const HElementType &item, const IdType ¯oId, int nChild) |
void | buildInteriorElementIds (const HElementType &item, const IdType &fatherId) |
void | buildFaceIds (const HFaceType &face, const IdType &fatherId, int innerFace) |
void | buildInteriorFaceIds (const HFaceType &face, const IdType &faceId) |
void | buildEdgeIds (const HEdgeType &edge, const IdType &fatherId, int inneredge) |
void | buildInteriorEdgeIds (const HEdgeType &edge, const IdType &edgeId) |
void | buildVertexIds (const VertexType &vertex, const IdType &fatherId) |
const IdType & | getId (const IdType ¯oId) const |
template<class EntityType > | |
IdType | id (const EntityType &ep) const |
return global id of given entity | |
template<int codim> | |
IdType | id (const typename GridType::template Codim< codim >::Entity &ep) const |
return global id of given entity | |
IdType | subId (const EntityCodim0Type &e, int i, unsigned int codim) const |
return subId of given entity | |
int | postRefinement (HElementType &item) |
int | preCoarsening (HElementType &elem) |
int | preCoarsening (HBndSegType &el) |
int | postRefinement (HBndSegType &el) |
prolong data, elem is the father | |
IdType | id (const typename remove_const< ALU3dGrid< elType, Comm > >::type::Traits::template Codim< cc >::Entity &e) const |
Get id of an entity of codim cc. Unhandy because template parameter must be supplied explicitely. | |
IdType | subId (const typename remove_const< ALU3dGrid< elType, Comm > >::type::Traits::template Codim< 0 >::Entity &e, int i, unsigned int codim) const |
Get id of subentity i of codim cc of a codim 0 entity. | |
Friends | |
class | ALU3dGrid< elType, Comm > |
global id set for ALU3dGrid
typedef GridType::Traits::GlobalIdType Dune::ALU3dGridGlobalIdSet< elType, Comm >::IdType |
export type of id
Reimplemented from Dune::IdSet< ALU3dGrid< elType, Comm >, ALU3dGridGlobalIdSet< elType, Comm >, ALU3dGrid< elType, Comm >::Traits::GlobalIdType >.
Dune::ALU3dGridGlobalIdSet< elType, Comm >::ALU3dGridGlobalIdSet | ( | const GridType & | grid | ) | [inline] |
create id set, only allowed for ALU3dGrid
References Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildIdSet(), Dune::hexa, and Dune::tetra.
virtual Dune::ALU3dGridGlobalIdSet< elType, Comm >::~ALU3dGridGlobalIdSet | ( | ) | [inline, virtual] |
void Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildEdgeIds | ( | const HEdgeType & | edge, |
const IdType & | fatherId, | ||
int | inneredge | ||
) | [inline] |
References Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildInteriorEdgeIds().
Referenced by Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildIdSet(), Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildInteriorEdgeIds(), Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildInteriorElementIds(), and Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildInteriorFaceIds().
void Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildElementIds | ( | const HElementType & | item, |
const IdType & | macroId, | ||
int | nChild | ||
) | [inline] |
void Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildFaceIds | ( | const HFaceType & | face, |
const IdType & | fatherId, | ||
int | innerFace | ||
) | [inline] |
void Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildIdSet | ( | ) | [inline] |
References ALU3DSPACE, Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildEdgeIds(), Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildElementIds(), Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildFaceIds(), Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildMacroEdgeId(), Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildMacroElementId(), Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildMacroFaceId(), Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildMacroVertexId(), Dune::ALU3dGrid< elType, Comm >::myGrid(), and Dune::ALU3dGrid< elType, Comm >::nlinks().
Referenced by Dune::ALU3dGridGlobalIdSet< elType, Comm >::ALU3dGridGlobalIdSet(), and Dune::ALU3dGridGlobalIdSet< elType, Comm >::updateIdSet().
void Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildInteriorEdgeIds | ( | const HEdgeType & | edge, |
const IdType & | edgeId | ||
) | [inline] |
void Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildInteriorElementIds | ( | const HElementType & | item, |
const IdType & | fatherId | ||
) | [inline] |
References Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildEdgeIds(), Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildElementIds(), Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildFaceIds(), and Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildVertexIds().
Referenced by Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildElementIds(), and Dune::ALU3dGridGlobalIdSet< elType, Comm >::postRefinement().
void Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildInteriorFaceIds | ( | const HFaceType & | face, |
const IdType & | faceId | ||
) | [inline] |
IdType Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildMacroEdgeId | ( | const HEdgeType & | item | ) | [inline] |
References Dune::ALU3dGridGlobalIdSet< elType, Comm >::id().
Referenced by Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildIdSet().
IdType Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildMacroElementId | ( | const HElementType & | item | ) | [inline] |
Referenced by Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildIdSet().
IdType Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildMacroFaceId | ( | const HFaceType & | item | ) | [inline] |
References Dune::ALU3dGridGlobalIdSet< elType, Comm >::id().
Referenced by Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildIdSet().
IdType Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildMacroVertexId | ( | const VertexType & | item | ) | [inline] |
References Dune::ALU3dGridGlobalIdSet< elType, Comm >::id().
Referenced by Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildIdSet().
void Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildVertexIds | ( | const VertexType & | vertex, |
const IdType & | fatherId | ||
) | [inline] |
void Dune::ALU3dGridGlobalIdSet< elType, Comm >::checkId | ( | const IdType & | macroId, |
const IterType & | idIter | ||
) | const [inline] |
References Dune::ALU3dGridGlobalIdSet< elType, Comm >::getId().
Referenced by Dune::ALU3dGridGlobalIdSet< elType, Comm >::uniquenessCheck().
IdType Dune::ALU3dGridGlobalIdSet< elType, Comm >::createId | ( | const typename ImplTraitsType::template Codim< cd >::InterfaceType & | item, |
const IdType & | creatorId, | ||
int | nChild | ||
) | [inline] |
References Dune::hexa.
const IdType& Dune::ALU3dGridGlobalIdSet< elType, Comm >::getId | ( | const IdType & | macroId | ) | const [inline] |
IdType Dune::IdSet< ALU3dGrid< elType, Comm > , ALU3dGridGlobalIdSet< elType, Comm > , ALU3dGrid< elType, Comm >::Traits::GlobalIdType >::id | ( | const typename remove_const< ALU3dGrid< elType, Comm > >::type::Traits::template Codim< cc >::Entity & | e | ) | const [inline, inherited] |
Get id of an entity of codim cc. Unhandy because template parameter must be supplied explicitely.
IdType Dune::ALU3dGridGlobalIdSet< elType, Comm >::id | ( | const EntityType & | ep | ) | const [inline] |
return global id of given entity
Reimplemented from Dune::IdSet< ALU3dGrid< elType, Comm >, ALU3dGridGlobalIdSet< elType, Comm >, ALU3dGrid< elType, Comm >::Traits::GlobalIdType >.
References Dune::ALU3dGridGlobalIdSet< elType, Comm >::getId(), and Dune::ALU3dGridHierarchicIndexSet< elType, Comm >::index().
Referenced by Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildMacroEdgeId(), Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildMacroFaceId(), and Dune::ALU3dGridGlobalIdSet< elType, Comm >::buildMacroVertexId().
IdType Dune::ALU3dGridGlobalIdSet< elType, Comm >::id | ( | const typename GridType::template Codim< codim >::Entity & | ep | ) | const [inline] |
return global id of given entity
References Dune::ALU3dGridGlobalIdSet< elType, Comm >::getId(), and Dune::ALU3dGridHierarchicIndexSet< elType, Comm >::index().
int Dune::ALU3dGridGlobalIdSet< elType, Comm >::postRefinement | ( | HElementType & | item | ) | [inline] |
int Dune::ALU3dGridGlobalIdSet< elType, Comm >::postRefinement | ( | HBndSegType & | el | ) | [inline] |
prolong data, elem is the father
int Dune::ALU3dGridGlobalIdSet< elType, Comm >::preCoarsening | ( | HElementType & | elem | ) | [inline] |
int Dune::ALU3dGridGlobalIdSet< elType, Comm >::preCoarsening | ( | HBndSegType & | el | ) | [inline] |
void Dune::ALU3dGridGlobalIdSet< elType, Comm >::print | ( | ) | const [inline] |
void Dune::ALU3dGridGlobalIdSet< elType, Comm >::setChunkSize | ( | int | chunkSize | ) | [inline] |
IdType Dune::IdSet< ALU3dGrid< elType, Comm > , ALU3dGridGlobalIdSet< elType, Comm > , ALU3dGrid< elType, Comm >::Traits::GlobalIdType >::subId | ( | const typename remove_const< ALU3dGrid< elType, Comm > >::type::Traits::template Codim< 0 >::Entity & | e, |
int | i, | ||
unsigned int | codim | ||
) | const [inline, inherited] |
Get id of subentity i of codim cc of a codim 0 entity.
IdType Dune::ALU3dGridGlobalIdSet< elType, Comm >::subId | ( | const EntityCodim0Type & | e, |
int | i, | ||
unsigned int | codim | ||
) | const [inline] |
return subId of given entity
References Dune::ALU3dGridGlobalIdSet< elType, Comm >::getId(), and Dune::ALU3dGridHierarchicIndexSet< elType, Comm >::subIndex().
void Dune::ALU3dGridGlobalIdSet< elType, Comm >::uniquenessCheck | ( | ) | const [inline] |
void Dune::ALU3dGridGlobalIdSet< elType, Comm >::updateIdSet | ( | ) | [inline] |
friend class ALU3dGrid< elType, Comm > [friend] |