27#ifndef EWOMS_FRACTURE_MAPPER_HH
28#define EWOMS_FRACTURE_MAPPER_HH
41template <
class TypeTag>
51 bool operator<(
const FractureEdge&
e)
const
52 {
return i_ <
e.i_ || (i_ ==
e.i_ && j_ <
e.j_); }
54 bool operator==(
const FractureEdge&
e)
const
55 {
return i_ ==
e.i_ && j_ ==
e.j_; }
87 {
return fractureVertices_.count(
vertexIdx) > 0; }
98 return fractureEdges_.count(tmp) > 0;
102 std::set<FractureEdge> fractureEdges_;
103 std::set<unsigned> fractureVertices_;
Stores the topology of fractures.
Definition fracturemapper.hh:43
bool isFractureEdge(unsigned vertex1Idx, unsigned vertex2Idx) const
Returns true iff a fracture is associated with a given edge.
Definition fracturemapper.hh:95
FractureMapper()
Constructor.
Definition fracturemapper.hh:65
bool isFractureVertex(unsigned vertexIdx) const
Returns true iff a fracture cuts through a given vertex.
Definition fracturemapper.hh:86
void addFractureEdge(unsigned vertexIdx1, unsigned vertexIdx2)
Marks an edge as having a fracture.
Definition fracturemapper.hh:74
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242
The Opm property system, traits with inheritance.