Intersection.hpp
Go to the documentation of this file.
97 Intersection(const CpGridData& grid, const EntityRep<0>& cell, int subindex, bool update_now = true);
177 OPM_THROW(std::runtime_error, "Cannot access geometryInOutside(), intersection is at a boundary.");
269 OPM_THROW(std::runtime_error, "There is no outside cell, intersection is at processor boundary.");
Struct that hods all the data needed to represent a Cpgrid. Definition: CpGridData.hpp:138 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 Definition: Intersection.hpp:279 IntersectionIterator & operator++() Definition: Intersection.hpp:298 IntersectionIterator operator++(int) Definition: Intersection.hpp:304 IntersectionIterator(const CpGridData &grid, const EntityRep< 0 > &cell, bool at_end) Definition: Intersection.hpp:288 cpgrid::Intersection Intersection Definition: Intersection.hpp:281 const Intersection * operator->() const Definition: Intersection.hpp:311 IntersectionIterator() Definition: Intersection.hpp:283 const Intersection & operator*() const Definition: Intersection.hpp:317 Definition: Intersection.hpp:66 Entity inside() const cpgrid::Geometry< 2, 3 > Geometry Definition: Intersection.hpp:76 FieldVector< ctype, 3 > integrationOuterNormal(const FieldVector< ctype, 2 > &unused) const const LocalGeometry & geometryInInside() const Definition: Intersection.hpp:164 FieldVector< ctype, 3 > unitOuterNormal(const FieldVector< ctype, 2 > &) const int boundaryId() const Returns the boundary id of this intersection. Entity outside() const bool operator!=(const Intersection &other) const Definition: Intersection.hpp:112 int boundarySegmentIndex() const Returns the boundary segment index of this intersection. cpgrid::Geometry< 2, 3 > LocalGeometry Definition: Intersection.hpp:77 void update() bool operator==(const Intersection &other) const Definition: Intersection.hpp:103 Geometry geometry() const const LocalGeometry & geometryInOutside() const Definition: Intersection.hpp:174 FieldVector< ctype, 3 > outerNormal(const FieldVector< ctype, 2 > &) const int indexInInside() const FieldVector< ctype, 3 > centerUnitOuterNormal() const int indexInOutside() const Definition: Intersection.hpp:201 FieldVector< ctype, 2 > LocalCoordinate Definition: Intersection.hpp:79 Intersection(const CpGridData &grid, const EntityRep< 0 > &cell, int subindex, bool update_now=true) void increment() FieldVector< ctype, 3 > GlobalCoordinate Definition: Intersection.hpp:80 OrientedEntityTable< 0, 1 >::row_type faces_of_cell_ Definition: Intersection.hpp:245 Represents the topological relationships between sets of entities, for example cells and faces. Definition: OrientedEntityTable.hpp:139 int size() const Returns the number of rows in the table. Definition: SparseTable.hpp:121 The namespace Dune is the main namespace for all Dune code. Definition: common/CartesianIndexMapper.hpp:10 STL namespace. Iterator::Intersection value_type Definition: Intersection.hpp:339 Dune::cpgrid::IntersectionIterator Iterator Definition: Intersection.hpp:337 forward_iterator_tag iterator_category Definition: Intersection.hpp:342 value_type & reference Definition: Intersection.hpp:341 value_type * pointer Definition: Intersection.hpp:340 ptrdiff_t difference_type Definition: Intersection.hpp:338 |