Esempio n. 1
0
 IdType id(const EntityType& e) const
 {
     if(idSet_)
         return idSet_->id(e);
     else
         return this->template getMapping<EntityType::codimension>()[e.index()];
 }
Esempio n. 2
0
 IdType computeId(const EntityType& e) const
 {
     IdType myId = 0;
     for( int c=0; c<EntityType::codimension; ++c )
         myId += grid_.indexSet().size( c );
     return  myId + e.index();
 }
Esempio n. 3
0
 IndexType index(const EntityType& e) const
 {
     return e.index();
 }
Esempio n. 4
0
 int map (const EntityType& e) const
 {
     return e.index();
 }