ZoltanGraphFunctions.hpp
Go to the documentation of this file.
72void fillNBORGIDForSpecificCellAndIncrementNeighborCounter(const Dune::CpGrid& grid, int localCellId, ID globalID, int& neighborCounter, ID& nborGID);
245int getNumberOfEdgesForSpecificCellForGridWithWells(const CombinedGridWellGraph& graph, int localCellId);
249void fillNBORGIDAndWeightsForSpecificCellAndIncrementNeighborCounterForGridWithWells(const CombinedGridWellGraph& graph, const int localCellId, ID globalID, int& neighborCounter, ID& nborGID, weightType *ewgts);
A graph repesenting a grid together with the well completions. Definition: ZoltanGraphFunctions.hpp:138 const WellConnections & getWellConnections() const Definition: ZoltanGraphFunctions.hpp:180 const GraphType & getWellsGraph() const Definition: ZoltanGraphFunctions.hpp:164 double transmissibility(int face_index) const Definition: ZoltanGraphFunctions.hpp:169 CombinedGridWellGraph(const Dune::CpGrid &grid, const std::vector< OpmWellType > *wells, const std::unordered_map< std::string, std::set< int > > &possibleFutureConnections, const double *transmissibilities, bool pretendEmptyGrid, EdgeWeightMethod edgeWeightsMethod) Create a graph representing a grid together with the wells. std::vector< std::set< int > > GraphType Definition: ZoltanGraphFunctions.hpp:140 const Dune::CpGrid & getGrid() const Access the grid. Definition: ZoltanGraphFunctions.hpp:159 double logTransmissibilityWeights(int face_index) const Definition: ZoltanGraphFunctions.hpp:174 double edgeWeight(int face_index) const Definition: ZoltanGraphFunctions.hpp:185 A class calculating and representing all connections of wells. Definition: WellConnections.hpp:51 void fillNBORGIDAndWeightsForSpecificCellAndIncrementNeighborCounterForGridWithWells(const CombinedGridWellGraph &graph, const int localCellId, ID globalID, int &neighborCounter, ID &nborGID, weightType *ewgts) Get the list of edges and weights for one cell of a grid with wells. int getNumberOfEdgesForSpecificCellForGridWithWells(const CombinedGridWellGraph &graph, int localCellId) Get the number of edges of the graph of the grid and the wells for one cell. The namespace Dune is the main namespace for all Dune code. Definition: common/CartesianIndexMapper.hpp:10 EdgeWeightMethod enum for choosing Methods for weighting graph-edges correspoding to cell interfaces in Zoltan's or Me... Definition: GridEnums.hpp:34 @ defaultTransEdgeWgt Use the transmissibilities as edge weights. Definition: GridEnums.hpp:38 @ logTransEdgeWgt Use the log of the transmissibilities as edge weights. Definition: GridEnums.hpp:40 @ uniformEdgeWgt All edge have a uniform weight of 1. Definition: GridEnums.hpp:36 int numCells(const Dune::CpGrid &grid) Get the number of cells of a grid. |