|
dune-grid 2.8.0
|
Loading...
Searching...
No Matches
albertagrid/indexsets.hh
Go to the documentation of this file.
39 : public IndexSet< AlbertaGridFamily< dim, dimworld >, AlbertaGridHierarchicIndexSet< dim,dimworld >, int, std::array< GeometryType, 1 > >
42 typedef IndexSet< AlbertaGridFamily< dim, dimworld >, AlbertaGridHierarchicIndexSet< dim,dimworld >, int, std::array< GeometryType, 1 > > Base;
103 IndexType subIndex ( const typename Traits::template Codim< cc >::Entity &entity, int i, unsigned int codim ) const
332 : public IndexSet< AlbertaGrid< dim, dimworld >, AlbertaGridIndexSet< dim, dimworld >, int, std::array< GeometryType, 1 > >
335 typedef IndexSet< AlbertaGrid< dim, dimworld >, AlbertaGridIndexSet< dim, dimworld >, int, std::array< GeometryType, 1 > > Base;
401 IndexType subIndex ( const typename Traits::template Codim< cc >::Entity &entity, int i, unsigned int codim ) const
573 IdType subId ( const typename Grid::template Codim< 0 >::Entity &e, int i, unsigned int subcodim ) const
581 IdType subId ( const typename Grid::template Codim< codim >::Entity &e, int i, unsigned int subcodim ) const
Provides base classes for index and id sets.
int size() const
iterator end()
iterator begin()
static Type apply(T &t)
constexpr void forEach(Range &&range, F &&f)
size_type dim() const
std::ptrdiff_t index() const
virtual void operator()()=0
Provides an index stack that supplies indices for element numbering for a grid (i....
provides a wrapper for ALBERTA's el_info structure
Dune::IndexStack< int, 100000 > IndexStack
Definition albertagrid/indexsets.hh:29
Include standard header files.
constexpr unsigned int dim() const
constexpr bool isSimplex() const
static const bool supportsAdaptationData
Definition dofvector.hh:185
Definition albertagrid/entity.hh:44
const ElementInfo & elementInfo() const
Definition albertagrid/entity.hh:128
int subEntity() const
obtain number of the subentity within the element (in ALBERTA numbering)
Definition albertagrid/entity.hh:146
Definition albertagrid/indexsets.hh:40
IndexType subIndex(const typename Traits::template Codim< cc >::Entity &entity, int i, unsigned int codim) const
return subIndex of given enitiy's sub entity
Definition albertagrid/indexsets.hh:103
Base::IndexType IndexType
Definition albertagrid/indexsets.hh:50
void read(const std::string &filename)
Definition indexsets.cc:146
const std::vector< GeometryType > & geomTypes(int codim) const
return geometry types this set has indices for
Definition albertagrid/indexsets.hh:139
Alberta::IndexStack IndexStack
Definition albertagrid/indexsets.hh:80
AlbertaGrid< dim, dimworld > Grid
Definition albertagrid/indexsets.hh:47
IndexType index(const typename Traits::template Codim< cc >::Entity &entity) const
return hierarchic index of given entity
Definition albertagrid/indexsets.hh:94
std::size_t size(const GeometryType &type) const
return size of set for given GeometryType
Definition albertagrid/indexsets.hh:120
bool contains(const Entity &) const
return true if entity is contained in set
Definition albertagrid/indexsets.hh:84
IndexType subIndex(const Alberta::Element *element, int i, unsigned int codim) const
obtain hierarchic subindex
Definition albertagrid/indexsets.hh:157
bool write(const std::string &filename) const
Definition indexsets.cc:154
Alberta::ElementInfo< dimension > ElementInfo
Definition albertagrid/indexsets.hh:56
void postAdapt()
Definition albertagrid/indexsets.hh:175
IndexType subIndex(const ElementInfo &elementInfo, int i, unsigned int codim) const
Definition albertagrid/indexsets.hh:145
Alberta::HierarchyDofNumbering< dimension > DofNumbering
Definition albertagrid/indexsets.hh:57
Types types(int codim) const
Definition albertagrid/indexsets.hh:132
std::size_t size(int codim) const
return size of set
Definition albertagrid/indexsets.hh:126
AlbertaGridFamily< dim, dimworld > GridFamily
Definition albertagrid/indexsets.hh:48
static const int dimension
Definition albertagrid/indexsets.hh:54
IdType id(const typename Grid::template Codim< codim >::Entity &e) const
Definition albertagrid/indexsets.hh:565
Base::IdType IdType
export type of id
Definition albertagrid/indexsets.hh:540
IdType subId(const typename Grid::template Codim< 0 >::Entity &e, int i, unsigned int subcodim) const
Definition albertagrid/indexsets.hh:573
IdType subId(const typename Grid::template Codim< codim >::Entity &e, int i, unsigned int subcodim) const
Definition albertagrid/indexsets.hh:581
IdType subId(const Entity &e, int i, unsigned int subcodim) const
Definition albertagrid/indexsets.hh:589
Definition albertagrid/indexsets.hh:333
Alberta::ElementInfo< dimension > ElementInfo
Definition albertagrid/indexsets.hh:346
IndexType index(const typename Traits::template Codim< cc >::Entity &entity) const
return hierarchic index of given entity
Definition albertagrid/indexsets.hh:392
AlbertaGridIndexSet(const DofNumbering &dofNumbering)
Definition albertagrid/indexsets.hh:356
Alberta::HierarchyDofNumbering< dimension > DofNumbering
Definition albertagrid/indexsets.hh:347
bool contains(const Entity &entity) const
Definition albertagrid/indexsets.hh:373
const std::vector< GeometryType > & geomTypes(int codim) const
Definition albertagrid/indexsets.hh:434
IndexType subIndex(const typename Traits::template Codim< cc >::Entity &entity, int i, unsigned int codim) const
return subIndex of given enitiy's sub entity
Definition albertagrid/indexsets.hh:401
Base::IndexType IndexType
Definition albertagrid/indexsets.hh:340
~AlbertaGridIndexSet()
Definition albertagrid/indexsets.hh:366
std::size_t size(int codim) const
Definition albertagrid/indexsets.hh:422
std::size_t size(const GeometryType &type) const
Definition albertagrid/indexsets.hh:417
void update(const Iterator &begin, const Iterator &end)
Definition albertagrid/indexsets.hh:441
static const int dimension
Definition albertagrid/indexsets.hh:344
AlbertaGrid< dim, dimworld > Grid
Definition albertagrid/indexsets.hh:338
Definition albertagrid/gridfamily.hh:81
Definition albertagrid/gridfamily.hh:96
Definition albertagrid/indexsets.hh:225
InitEntityNumber(IndexStack &indexStack)
Definition albertagrid/indexsets.hh:229
Definition indexstack.hh:24
Implementation & impl()
access to the underlying implementation
Definition common/entity.hh:78
IndexType subIndex(const typename Traits::template Codim< cc >::Entity &e, int i, unsigned int codim) const
Map a subentity to an index.
Definition indexidset.hh:151
IndexType index(const typename Traits::template Codim< cc >::Entity &e) const
Map entity to index. The result of calling this method with an entity that is not in the index set is...
Definition indexidset.hh:111
int IndexType
The type used for the indices.
Definition indexidset.hh:90
provides the GridFamily for AlbertaGrid
Different resources needed by all grid implementations.
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8