File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -256,12 +256,13 @@ class CombinedGridWellGraph
256256// / \brief Get the number of edges of the graph of the grid and the wells for one cell
257257int getNumberOfEdgesForSpecificCellForGridWithWells (const CombinedGridWellGraph& graph, int localCellId);
258258
259- // / \brief Iterate over the grid and get the sum of all edge weights
259+ // / \brief Iterate over the grid and to calculate the edge weights
260260// /
261261// / Used as a weight for edges between cells of a well
262+ // / The result is the sum of all grid edges, or multiplyWellConnectivities*grid_average if it is positive
262263template <typename EdgeWeightType>
263- EdgeWeightType sumOfGridEdges (const Dune::CpGrid& grid,
264- const CombinedGridWellGraph& graph);
264+ EdgeWeightType calculateWellEdgeWeight (const Dune::CpGrid& grid,
265+ const CombinedGridWellGraph& graph);
265266
266267// / \brief Get the list of edges and weights for one cell of a grid with wells
267268template <typename ID , typename weightType>
You can’t perform that action at this time.
0 commit comments