Indexsets.hpp
Go to the documentation of this file.
176 IndexType subIndex(const cpgrid::Entity<codim>& /* e */, int /* i */, unsigned int /* cc */) const
189 // return index(e) >= 0 && index(e) < grid_.size(EntityType::codimension); //EntityType::codimension == 0;
204 //friend class Dune::cpgrid::LevelGlobalIdSet; Not needed due to repeated code in LevelGlobalIdSet (computeId_cell and computeId_point)
306 const auto& levelEntity = cpgrid::Entity<0>(*(grid_.levelData()[level_levelIdx[0]]), level_levelIdx[1], true);
323 // Count all the entities of (all the levels) level 0 of all codimensions lower than 3 (for CpGrid, only codim = 0 cells).
333 const auto& levelEntity = cpgrid::Entity<3>(*(grid_.levelData()[level_levelIdx[0]]), level_levelIdx[1], true);
356 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:474 int getGridIdx() const Add doc/or remove method and replace it with better approach. Definition: CpGridData.hpp:460 Definition: Entity.hpp:72 Entity< 0 > getLevelElem() const Get equivalent element on the level grid where the entity was born, if grid = leaf-grid-view.... Definition: Entity.hpp:598 int level() const Return the level of the entity in the grid hierarchy. Level = 0 represents the coarsest grid. Definition: Entity.hpp:442 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:490 void insertIdSet(const CpGridData &view) GlobalIdSet(const CpGridData &view) IdType id(const typename Codim< codim >::Entity &e) const Definition: Indexsets.hpp:504 IdType subId(const typename Codim< 0 >::Entity &e, int i) const Definition: Indexsets.hpp:516 IdType subId(const typename Codim< 0 >::Entity &e, int i, int cc) const Definition: Indexsets.hpp:201 IdType subId(const cpgrid::Entity< 0 > &e, int i) const Definition: Indexsets.hpp:255 IdType id(const cpgrid::Intersection &intersection) const return id of intersection (here face number) Definition: Indexsets.hpp:249 IdType id(const cpgrid::EntityRep< codim > &e) const Definition: Indexsets.hpp:243 IdType id(const typename Codim< cd >::Entity &e) const Definition: Indexsets.hpp:223 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:187 IndexSet(std::size_t numCells, std::size_t numPoints) Definition: Indexsets.hpp:80 IndexType subIndex(const cpgrid::Entity< 0 > &e, int i) const Definition: Indexsets.hpp:162 IndexType subIndex(const cpgrid::Entity< 0 > &e, int i, unsigned int cc) const IndexType index(const EntityType &e) const Definition: Indexsets.hpp:151 IndexType index(const cpgrid::Entity< cd > &e) const Definition: Indexsets.hpp:140 const Types & geomTypes(int codim) const Definition: Indexsets.hpp:96 IndexType subIndex(const cpgrid::Entity< codim > &, int, unsigned int) const Definition: Indexsets.hpp:176 Definition: Intersection.hpp:66 Definition: Indexsets.hpp:371 void swap(std::vector< int > &cellMapping, std::vector< int > &faceMapping, std::vector< int > &pointMapping) Definition: Indexsets.hpp:386 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:432 IdType getMaxGlobalId() const Definition: Indexsets.hpp:469 static constexpr int dimension Definition: Indexsets.hpp:377 IdType id(const EntityRep< codim > &e) const Definition: Indexsets.hpp:417 IdType id(const typename Codim< codim >::Entity &e) const Definition: Indexsets.hpp:402 IdType getMaxCodimGlobalId() const Definition: Indexsets.hpp:441 LevelGlobalIdSet(std::shared_ptr< const IdSet > ids, const CpGridData *view) Definition: Indexsets.hpp:395 Definition: Indexsets.hpp:537 ReversePointGlobalIdSet(const LevelGlobalIdSet &idSet) Definition: Indexsets.hpp:539 int operator[](int i) const Definition: Indexsets.hpp:553 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. |