|
Indexsets.hpp
Go to the documentation of this file.
174 IndexType subIndex(const cpgrid::Entity<codim>& /* e */, int /* i */, unsigned int /* cc */) const
187 // return index(e) >= 0 && index(e) < grid_.size(EntityType::codimension); //EntityType::codimension == 0;
202 //friend class Dune::cpgrid::LevelGlobalIdSet; Not needed due to repeated code in LevelGlobalIdSet (computeId_cell and computeId_point)
302 const auto& levelEntity = cpgrid::Entity<0>(*(grid_.levelData()[level_levelIdx[0]]), level_levelIdx[1], true);
319 // Count all the entities of (all the levels) level 0 of all codimensions lower than 3 (for CpGrid, only codim = 0 cells).
329 const auto& levelEntity = cpgrid::Entity<3>(*(grid_.levelData()[level_levelIdx[0]]), level_levelIdx[1], true);
352 const auto& levelEntity = cpgrid::Entity<3>(*(grid_.levelData()[level_levelIdx[0]]), level_levelIdx[1], true);
Struct that hods all the data needed to represent a Cpgrid. Definition: CpGridData.hpp:118 int size(int codim) const number of leaf entities per codim in this process const std::vector< std::shared_ptr< Dune::cpgrid::CpGridData > > & levelData() const Add doc/or remove method and replace it with better approach. Definition: CpGridData.hpp:458 int getGridIdx() const Add doc/or remove method and replace it with better approach. Definition: CpGridData.hpp:444 Entity< 0 > getLevelElem() const Get equivalent element on the level grid where the entity was born, if grid = leaf-grid-view.... Definition: Entity.hpp:629 int level() const Return the level of the entity in the grid hierarchy. Level = 0 represents the coarsest grid. Definition: Entity.hpp:473 Represents an entity of a given codim, with positive or negative orientation. Definition: EntityRep.hpp:99 int index() const The (positive) index of an entity. Not a Dune interface method. Definition: EntityRep.hpp:126 Class managing the mappings of local indices to global ids. Definition: GlobalIdMapping.hpp:31 void swap(std::vector< int > &cellMapping, std::vector< int > &faceMapping, std::vector< int > &pointMapping) Swap data for initialization. Definition: GlobalIdMapping.hpp:38 typename LevelGlobalIdSet::IdType IdType The type of the id. Definition: Indexsets.hpp:486 void insertIdSet(const CpGridData &view) GlobalIdSet(const CpGridData &view) IdType id(const typename Codim< codim >::Entity &e) const Definition: Indexsets.hpp:497 IdType subId(const typename Codim< 0 >::Entity &e, int i) const Definition: Indexsets.hpp:509 typename Impl::CodimTraits< cd > Codim Export supported entity types. Definition: Indexsets.hpp:492 IdType subId(const typename Codim< 0 >::Entity &e, int i, int cc) const Definition: Indexsets.hpp:199 typename Impl::CodimTraits< cd > Codim Export supported entity types. Definition: Indexsets.hpp:210 IdType subId(const cpgrid::Entity< 0 > &e, int i) const Definition: Indexsets.hpp:251 IdType idLevelZero(const Entity< codim > &e) const =delete IdType id(const cpgrid::Intersection &intersection) const return id of intersection (here face number) Definition: Indexsets.hpp:245 IdType id(const typename Codim< cd >::Entity &e) const Definition: Indexsets.hpp:218 IdType subId(const cpgrid::Entity< 0 > &e, int i, int cc) const IdType idLevelZero(const cpgrid::EntityRep< codim > &e) const Definition: Indexsets.hpp:236 Definition: Indexsets.hpp:57 bool contains(const EntityType &e) const Definition: Indexsets.hpp:185 IndexSet(std::size_t numCells, std::size_t numPoints) Definition: Indexsets.hpp:78 IndexType subIndex(const cpgrid::Entity< 0 > &e, int i) const Definition: Indexsets.hpp:160 IndexType subIndex(const cpgrid::Entity< 0 > &e, int i, unsigned int cc) const IndexType index(const EntityType &e) const Definition: Indexsets.hpp:149 IndexType index(const cpgrid::Entity< cd > &e) const Definition: Indexsets.hpp:138 typename Impl::CodimTraits< cd > Codim Export supported entity types. Definition: Indexsets.hpp:67 const Types & geomTypes(int codim) const Definition: Indexsets.hpp:94 IndexType subIndex(const cpgrid::Entity< codim > &, int, unsigned int) const Definition: Indexsets.hpp:174 Definition: Intersection.hpp:66 Definition: Indexsets.hpp:367 void swap(std::vector< int > &cellMapping, std::vector< int > &faceMapping, std::vector< int > &pointMapping) Definition: Indexsets.hpp:379 IdType idLevelZero(const Entity< codim > &e) const =delete IdType idLevelZero(const EntityRep< codim > &e) const Definition: Indexsets.hpp:410 IdType subId(const cpgrid::Entity< 0 > &e, int i, int cc) const IdType subId(const cpgrid::Entity< 0 > &e, int i) const Definition: Indexsets.hpp:428 IdType getMaxGlobalId() const Definition: Indexsets.hpp:465 static constexpr int dimension Definition: Indexsets.hpp:373 IdType id(const typename Codim< codim >::Entity &e) const Definition: Indexsets.hpp:395 IdType getMaxCodimGlobalId() const Definition: Indexsets.hpp:437 LevelGlobalIdSet(std::shared_ptr< const IdSet > ids, const CpGridData *view) Definition: Indexsets.hpp:388 typename Impl::CodimTraits< cd > Codim Export supported entity types. Definition: Indexsets.hpp:377 Definition: Indexsets.hpp:530 ReversePointGlobalIdSet(const LevelGlobalIdSet &idSet) Definition: Indexsets.hpp:532 int operator[](int i) const Definition: Indexsets.hpp:546 The namespace Dune is the main namespace for all Dune code. Definition: common/CartesianIndexMapper.hpp:10 int numCells(const Dune::CpGrid &grid) Get the number of cells of a grid. STL namespace. Definition: Entity.hpp:66 |