mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
making the constructors of WellOps and StandardWells explicit.
This commit is contained in:
parent
9972dae32a
commit
2bd83aae73
@ -272,14 +272,14 @@ namespace Opm {
|
|||||||
class StandardWells {
|
class StandardWells {
|
||||||
protected:
|
protected:
|
||||||
struct WellOps {
|
struct WellOps {
|
||||||
WellOps(const Wells* wells);
|
explicit WellOps(const Wells* wells);
|
||||||
Eigen::SparseMatrix<double> w2p; // well -> perf (scatter)
|
Eigen::SparseMatrix<double> w2p; // well -> perf (scatter)
|
||||||
Eigen::SparseMatrix<double> p2w; // perf -> well (gather)
|
Eigen::SparseMatrix<double> p2w; // perf -> well (gather)
|
||||||
std::vector<int> well_cells; // the set of perforated cells
|
std::vector<int> well_cells; // the set of perforated cells
|
||||||
};
|
};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
StandardWells(const Wells* wells);
|
explicit StandardWells(const Wells* wells);
|
||||||
|
|
||||||
const Wells& wells() const;
|
const Wells& wells() const;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user