|
dune-grid 2.11
|
Loading...
Searching...
No Matches
albertagrid/indexsets.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
41 : public IndexSet< AlbertaGridFamily< dim, dimworld >, AlbertaGridHierarchicIndexSet< dim,dimworld >, int, std::array< GeometryType, 1 > >
44 typedef IndexSet< AlbertaGridFamily< dim, dimworld >, AlbertaGridHierarchicIndexSet< dim,dimworld >, int, std::array< GeometryType, 1 > > Base;
105 IndexType subIndex ( const typename Traits::template Codim< cc >::Entity &entity, int i, unsigned int codim ) const
328 : public IndexSet< AlbertaGrid< dim, dimworld >, AlbertaGridIndexSet< dim, dimworld >, int, std::array< GeometryType, 1 > >
331 typedef IndexSet< AlbertaGrid< dim, dimworld >, AlbertaGridIndexSet< dim, dimworld >, int, std::array< GeometryType, 1 > > Base;
396 IndexType subIndex ( const typename Traits::template Codim< cc >::Entity &entity, int i, unsigned int codim ) const
559 IdType subId ( const typename Grid::template Codim< 0 >::Entity &e, int i, unsigned int subcodim ) const
568 IdType subId ( const typename Grid::template Codim< codim >::Entity &e, int i, unsigned int subcodim ) const
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:31
Include standard header files.
constexpr unsigned int dim() const
constexpr bool isSimplex() const
static const bool supportsAdaptationData
Definition dofvector.hh:187
Definition albertagrid/entity.hh:46
const ElementInfo & elementInfo() const
Definition albertagrid/entity.hh:130
int subEntity() const
obtain number of the subentity within the element (in ALBERTA numbering)
Definition albertagrid/entity.hh:148
Definition albertagrid/indexsets.hh:42
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:105
Base::IndexType IndexType
Definition albertagrid/indexsets.hh:52
void read(const std::string &filename)
Definition indexsets.cc:141
Alberta::IndexStack IndexStack
Definition albertagrid/indexsets.hh:82
AlbertaGrid< dim, dimworld > Grid
Definition albertagrid/indexsets.hh:49
IndexType index(const typename Traits::template Codim< cc >::Entity &entity) const
return hierarchic index of given entity
Definition albertagrid/indexsets.hh:96
std::size_t size(const GeometryType &type) const
return size of set for given GeometryType
Definition albertagrid/indexsets.hh:122
bool contains(const Entity &) const
return true if entity is contained in set
Definition albertagrid/indexsets.hh:86
IndexType subIndex(const Alberta::Element *element, int i, unsigned int codim) const
obtain hierarchic subindex
Definition albertagrid/indexsets.hh:153
bool write(const std::string &filename) const
Definition indexsets.cc:149
Alberta::ElementInfo< dimension > ElementInfo
Definition albertagrid/indexsets.hh:58
void postAdapt()
Definition albertagrid/indexsets.hh:171
IndexType subIndex(const ElementInfo &elementInfo, int i, unsigned int codim) const
Definition albertagrid/indexsets.hh:141
Alberta::HierarchyDofNumbering< dimension > DofNumbering
Definition albertagrid/indexsets.hh:59
Types types(int codim) const
obtain all geometry types of entities in domain
Definition albertagrid/indexsets.hh:135
std::size_t size(int codim) const
return size of set
Definition albertagrid/indexsets.hh:128
AlbertaGridFamily< dim, dimworld > GridFamily
Definition albertagrid/indexsets.hh:50
static const int dimension
Definition albertagrid/indexsets.hh:56
IdType id(const typename Grid::template Codim< codim >::Entity &e) const
Definition albertagrid/indexsets.hh:551
IdType id(const Entity &e) const
Get id of an entity. This method is simpler to use than the one below.
Definition albertagrid/indexsets.hh:543
Base::IdType IdType
export type of id
Definition albertagrid/indexsets.hh:526
IdType subId(const typename Grid::template Codim< 0 >::Entity &e, int i, unsigned int subcodim) const
Get id of subentity i of co-dimension codim of a co-dimension 0 entity.
Definition albertagrid/indexsets.hh:559
IdType subId(const typename Grid::template Codim< codim >::Entity &e, int i, unsigned int subcodim) const
Definition albertagrid/indexsets.hh:568
IdType subId(const Entity &e, int i, unsigned int subcodim) const
Definition albertagrid/indexsets.hh:577
Definition albertagrid/indexsets.hh:329
Alberta::ElementInfo< dimension > ElementInfo
Definition albertagrid/indexsets.hh:342
IndexType index(const typename Traits::template Codim< cc >::Entity &entity) const
return hierarchic index of given entity
Definition albertagrid/indexsets.hh:387
AlbertaGridIndexSet(const DofNumbering &dofNumbering)
Definition albertagrid/indexsets.hh:352
Alberta::HierarchyDofNumbering< dimension > DofNumbering
Definition albertagrid/indexsets.hh:343
bool contains(const Entity &entity) const
Definition albertagrid/indexsets.hh:368
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:396
Base::IndexType IndexType
Definition albertagrid/indexsets.hh:336
~AlbertaGridIndexSet()
Definition albertagrid/indexsets.hh:361
std::size_t size(int codim) const
Definition albertagrid/indexsets.hh:417
std::size_t size(const GeometryType &type) const
Definition albertagrid/indexsets.hh:412
void update(const Iterator &begin, const Iterator &end)
Definition albertagrid/indexsets.hh:430
static const int dimension
Definition albertagrid/indexsets.hh:340
AlbertaGrid< dim, dimworld > Grid
Definition albertagrid/indexsets.hh:334
Definition albertagrid/gridfamily.hh:83
Definition albertagrid/gridfamily.hh:98
Definition albertagrid/indexsets.hh:221
InitEntityNumber(IndexStack &indexStack)
Definition albertagrid/indexsets.hh:225
Definition indexstack.hh:26
static constexpr int codimension
Know your own codimension.
Definition common/entity.hh:106
Implementation & impl()
access to the underlying implementation
Definition common/entity.hh:80
IndexType subIndex(const typename Traits::template Codim< cc >::Entity &e, int i, unsigned int codim) const
Map a subentity to an index.
Definition common/indexidset.hh:153
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 common/indexidset.hh:113
int IndexType
The type used for the indices.
Definition common/indexidset.hh:92
provides the GridFamily for AlbertaGrid
Different resources needed by all grid implementations.
Provides base classes for index and id sets.
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8