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)
285 const auto& levelEntity = cpgrid::Entity<0>(*(grid_.levelData()[level_levelIdx[0]]), level_levelIdx[1], true);
302 // Count all the entities of (all the levels) level 0 of all codimensions lower than 3 (for CpGrid, only codim = 0 cells).
312 const auto& levelEntity = cpgrid::Entity<3>(*(grid_.levelData()[level_levelIdx[0]]), level_levelIdx[1], true);
335 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:138 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:535 int getGridIdx() const Add doc/or remove method and replace it with better approach. Definition: CpGridData.hpp:521 Definition: Entity.hpp:71 Entity< 0 > getLevelElem() const Get equivalent element on the level grid where the entity was born, if grid = leaf-grid-view.... Definition: Entity.hpp:581 int level() const Return the level of the entity in the grid hierarchy. Level = 0 represents the coarsest grid. Definition: Entity.hpp:433 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:453 void insertIdSet(const CpGridData &view) GlobalIdSet(const CpGridData &view) 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:464 Definition: Indexsets.hpp:199 IdType subId(const cpgrid::Entity< 0 > &e, int i) const Definition: Indexsets.hpp:234 IdType id(const cpgrid::Intersection &intersection) const return id of intersection (here face number) Definition: Indexsets.hpp:228 IdType subId(const cpgrid::Entity< 0 > &e, int i, int cc) const Definition: Indexsets.hpp:56 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 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:350 void swap(std::vector< int > &cellMapping, std::vector< int > &faceMapping, std::vector< int > &pointMapping) Definition: Indexsets.hpp:356 IdType subId(const cpgrid::Entity< 0 > &e, int i, int cc) const IdType id(const Entity< codim > &e) const Definition: Indexsets.hpp:372 IdType subId(const cpgrid::Entity< 0 > &e, int i) const Definition: Indexsets.hpp:395 IdType getMaxCodimGlobalId() Definition: Indexsets.hpp:404 IdType id(const EntityRep< codim > &e) const Definition: Indexsets.hpp:386 LevelGlobalIdSet(std::shared_ptr< const IdSet > ids, const CpGridData *view) Definition: Indexsets.hpp:365 Definition: Indexsets.hpp:485 ReversePointGlobalIdSet(const LevelGlobalIdSet &idSet) Definition: Indexsets.hpp:487 int operator[](int i) const Definition: Indexsets.hpp:501 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. Export the type of the entity used as parameter in the index(...) method. Definition: Indexsets.hpp:65 |