From 3d3d493407da2f19bfa284063c4366bd768b476d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20T=C3=B3th?= Date: Mon, 2 Dec 2024 11:01:51 +0100 Subject: [PATCH] Rename function adding neighboring cells to wells --- opm/grid/GraphOfGrid.cpp | 2 +- opm/grid/GraphOfGrid.hpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/opm/grid/GraphOfGrid.cpp b/opm/grid/GraphOfGrid.cpp index 9113dc476..b8d9c452b 100644 --- a/opm/grid/GraphOfGrid.cpp +++ b/opm/grid/GraphOfGrid.cpp @@ -186,7 +186,7 @@ void GraphOfGrid::addWell (const std::set& well, bool checkIntersecti } template -void GraphOfGrid::addWellBuffer () +void GraphOfGrid::addNeighboringCellsToWells () { // mark all cells that will be added to wells (addding them one // by one would require recursive checks for neighboring wells) diff --git a/opm/grid/GraphOfGrid.hpp b/opm/grid/GraphOfGrid.hpp index 3701610dd..b6ca3f082 100644 --- a/opm/grid/GraphOfGrid.hpp +++ b/opm/grid/GraphOfGrid.hpp @@ -162,17 +162,17 @@ class GraphOfGrid{ return wells; } - /// \brief Contract a layer of verices around each wells into it + /// \brief Contract a layer of verices around each well into it /// /// Representing a well by one node guarantees that the well won't /// be split over several processes. Giving the well an extra layer /// of cells distances that well from the subdomain boundary. - void addWellBuffer (); - void addWellBuffer (int layers) + void addNeighboringCellsToWells (); + void addNeighboringCellsToWells (int layers) { for (int i=0; i