27#ifndef EWOMS_FRACTURE_MAPPER_HH
28#define EWOMS_FRACTURE_MAPPER_HH
39template <
class TypeTag>
49 bool operator<(
const FractureEdge&
e)
const
50 {
return i_ <
e.i_ || (i_ ==
e.i_ && j_ <
e.j_); }
52 bool operator==(
const FractureEdge&
e)
const
53 {
return i_ ==
e.i_ && j_ ==
e.j_; }
79 {
return fractureVertices_.count(
vertexIdx) > 0; }
90 return fractureEdges_.count(tmp) > 0;
94 std::set<FractureEdge> fractureEdges_;
95 std::set<unsigned> fractureVertices_;
Stores the topology of fractures.
Definition fracturemapper.hh:41
bool isFractureEdge(unsigned vertex1Idx, unsigned vertex2Idx) const
Returns true iff a fracture is associated with a given edge.
Definition fracturemapper.hh:87
bool isFractureVertex(unsigned vertexIdx) const
Returns true iff a fracture cuts through a given vertex.
Definition fracturemapper.hh:78
void addFractureEdge(unsigned vertexIdx1, unsigned vertexIdx2)
Marks an edge as having a fracture.
Definition fracturemapper.hh:66
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilbioeffectsmodules.hh:43
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:240