|
dune-grid 2.8.0
|
Loading...
Searching...
No Matches
yaspgridentity.hh
Go to the documentation of this file.
81 static constexpr std::array<int,(n+1)*(n+2)/2> _values = computeValues(std::make_index_sequence<(n+1)*(n+2)/2>{});
155 static constexpr std::array<unsigned char, sizeof...(I)> computeValues(std::index_sequence<I...>)
161 static constexpr std::array<int,dim+1> _offsets = computeOffsets(std::make_index_sequence<dim+1>{});
162 static constexpr std::array<unsigned char,StaticPower<3,dim>::power> _values = computeValues(std::make_index_sequence<StaticPower<3,dim>::power>{});
170 constexpr std::array<unsigned char,StaticPower<3,dim>::power> EntityShiftTable<F, dim>::_values;
561 return typename Codim<cc>::Entity(YaspEntity<cc,GridImp::dimension,GridImp>(_g,_g->overlapfront[cc].begin(coord, which)));
622 bool isNew () const { return yaspgrid()->adaptRefCount > 0 && yaspgrid()->maxLevel() < _g->level() + yaspgrid()->adaptRefCount; }
int binomial(int upper, int lower)
int size() const
size_type dim() const
std::ptrdiff_t index() const
#define DUNE_THROW(E, m)
PartitionType
Attributes used in the generic overlap model.
Definition gridenums.hh:28
STL namespace.
Include standard header files.
Default Implementations for EntityImp.
Definition common/entity.hh:548
The general version that handles all codimensions but 0 and dim.
Definition yaspgridgeometry.hh:29
Definition yaspgridentity.hh:262
Geometry geometry() const
geometry of this entity
Definition yaspgridentity.hh:290
PersistentIndexType persistentIndex() const
globally unique, persistent index
Definition yaspgridentity.hh:345
const I & transformingsubiterator() const
Definition yaspgridentity.hh:405
bool equals(const YaspEntity &e) const
Return true when two iterators over the same grid are equal (!).
Definition yaspgridentity.hh:333
PartitionType partitionType() const
return partition type attribute
Definition yaspgridentity.hh:306
GridImp::Traits::template Codim< codim >::GeometryImpl GeometryImpl
Definition yaspgridentity.hh:271
int subCompressedIndex(int i, unsigned int cc) const
subentity compressed index
Definition yaspgridentity.hh:382
GridImp::template Codim< codim >::EntitySeed EntitySeed
Definition yaspgridentity.hh:273
EntitySeed seed() const
Return the entity seed which contains sufficient information to generate the entity again and uses as...
Definition yaspgridentity.hh:284
int compressedIndex() const
consecutive, codim-wise, level-wise index
Definition yaspgridentity.hh:376
GridImp::template Codim< codim >::Geometry Geometry
Definition yaspgridentity.hh:270
GridImp::PersistentIndexType PersistentIndexType
Definition yaspgridentity.hh:342
unsigned int subEntities(unsigned int cc) const
Definition yaspgridentity.hh:300
I & transformingsubiterator()
Definition yaspgridentity.hh:407
Describes the minimal information necessary to create a fully functional YaspEntity.
Definition yaspgridentityseed.hh:16
Iterates over entities of one grid level.
Definition yaspgridleveliterator.hh:17
YaspIntersectionIterator enables iteration over intersections with neighboring codim 0 entities.
Definition yaspgridintersectioniterator.hh:20
YaspHierarchicIterator enables iteration over son entities of codim 0.
Definition yaspgridhierarchiciterator.hh:18
Implementation of Level- and LeafIndexSets for YaspGrid.
Definition yaspgridindexsets.hh:23
LeafIntersectionIterator ileafbegin() const
returns intersection iterator for first intersection
Definition yaspgridentity.hh:635
GridImp::template Codim< 0 >::LocalGeometry LocalGeometry
Definition yaspgridentity.hh:438
Codim< cc >::Entity subEntity(int i) const
Definition yaspgridentity.hh:549
bool equals(const YaspEntity &e) const
Return true when two iterators over the same grid are equal (!).
Definition yaspgridentity.hh:476
YaspEntity(const YGLI &g, I &&it)
Definition yaspgridentity.hh:467
GridImp::template Codim< 0 >::EntitySeed EntitySeed
Definition yaspgridentity.hh:447
GridImp::PersistentIndexType PersistentIndexType
define the type used for persistent indices
Definition yaspgridentity.hh:454
GridImp::YGrid::iTupel iTupel
define type used for coordinates in grid module
Definition yaspgridentity.hh:457
const YGLI & gridlevel() const
Definition yaspgridentity.hh:610
IntersectionIterator iend() const
Reference to one past the last neighbor.
Definition yaspgridentity.hh:648
const I & transformingsubiterator() const
Definition yaspgridentity.hh:609
YaspEntity(const YGLI &g, const I &it)
Definition yaspgridentity.hh:463
const GridImp * yaspgrid() const
Definition yaspgridentity.hh:613
int level() const
level of this element
Definition yaspgridentity.hh:482
GridImp::LeafIntersectionIterator LeafIntersectionIterator
Definition yaspgridentity.hh:450
YaspEntity(YGLI &&g, I &&it)
Definition yaspgridentity.hh:471
PartitionType partitionType() const
return partition type attribute
Definition yaspgridentity.hh:492
LevelIntersectionIterator ilevelend() const
Reference to one past the last neighbor.
Definition yaspgridentity.hh:660
bool mightVanish() const
Returns true, if entity might disappear during the next call to adapt()
Definition yaspgridentity.hh:626
GridImp::HierarchicIterator HierarchicIterator
Definition yaspgridentity.hh:451
GridImp::template Codim< 0 >::Entity Entity
Definition yaspgridentity.hh:446
LevelIntersectionIterator ilevelbegin() const
returns intersection iterator for first intersection
Definition yaspgridentity.hh:642
LeafIntersectionIterator ileafend() const
Reference to one past the last neighbor.
Definition yaspgridentity.hh:654
GridImp::template Codim< 0 >::Geometry Geometry
Definition yaspgridentity.hh:437
Geometry geometry() const
geometry of this entity
Definition yaspgridentity.hh:503
Entity father() const
Inter-level access to father element on coarser grid. Assumes that meshes are nested.
Definition yaspgridentity.hh:565
bool isNew() const
Returns true, if the entity has been created during the last call to adapt()
Definition yaspgridentity.hh:622
EntitySeed seed() const
Return the entity seed which contains sufficient information to generate the entity again and uses as...
Definition yaspgridentity.hh:487
HierarchicIterator hbegin(int maxlevel) const
Definition yaspgridentity.hh:669
IntersectionIterator ibegin() const
returns intersection iterator for first intersection
Definition yaspgridentity.hh:629
GridImp::YGridLevelIterator YGLI
Definition yaspgridentity.hh:434
unsigned int subEntities(unsigned int codim) const
Definition yaspgridentity.hh:541
LocalGeometry geometryInFather() const
Definition yaspgridentity.hh:592
GridImp::LevelIntersectionIterator IntersectionIterator
Definition yaspgridentity.hh:448
GridImp::LevelIntersectionIterator LevelIntersectionIterator
Definition yaspgridentity.hh:449
I & transformingsubiterator()
Definition yaspgridentity.hh:611
bool hasFather() const
returns true if father entity exists
Definition yaspgridentity.hh:585
GridImp::template Codim< cd >::Entity Entity
Definition yaspgridentity.hh:443
int level() const
level of this element
Definition yaspgridentity.hh:834
bool equals(const YaspEntity &e) const
Return true when two iterators over the same grid are equal (!).
Definition yaspgridentity.hh:828
Geometry geometry() const
geometry of this entity
Definition yaspgridentity.hh:853
YaspEntity(const YGLI &g, const I &it)
Definition yaspgridentity.hh:819
unsigned int subEntities(unsigned int cc) const
Definition yaspgridentity.hh:847
PartitionType partitionType() const
return partition type attribute
Definition yaspgridentity.hh:859
GridImp::YGridLevelIterator YGLI
Definition yaspgridentity.hh:802
GridImp::PersistentIndexType PersistentIndexType
define the type used for persistent indices
Definition yaspgridentity.hh:810
EntitySeed seed() const
Return the entity seed which contains sufficient information to generate the entity again and uses as...
Definition yaspgridentity.hh:839
const GridImp * yaspgrid() const
Definition yaspgridentity.hh:939
I & transformingsubiterator()
Definition yaspgridentity.hh:936
const I & transformingsubiterator() const
Definition yaspgridentity.hh:934
GridImp::YGrid::iTupel iTupel
define type used for coordinates in grid module
Definition yaspgridentity.hh:813
GridImp::template Codim< dim >::Geometry Geometry
Definition yaspgridentity.hh:805
const YGLI & gridlevel() const
Definition yaspgridentity.hh:935
YaspEntity(YGLI &&g, I &&it)
Definition yaspgridentity.hh:823
GridImp::template Codim< dim >::EntitySeed EntitySeed
Definition yaspgridentity.hh:807
T min(T... args)
T move(T... args)
T to_ulong(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8