Add well_cells to WellOps to avoid recreating.

This commit is contained in:
Atgeirr Flø Rasmussen
2015-10-13 10:42:50 +02:00
committed by Kai Bao
parent b2787e24e7
commit 44f36c45cf
2 changed files with 9 additions and 10 deletions

View File

@@ -273,6 +273,7 @@ namespace Opm {
WellOps(const Wells* wells);
Eigen::SparseMatrix<double> w2p; // well -> perf (scatter)
Eigen::SparseMatrix<double> p2w; // perf -> well (gather)
std::vector<int> well_cells; // the set of perforated cells
};
// --------- Data members ---------