making the constructors of WellOps and StandardWells explicit.

This commit is contained in:
Kai Bao 2016-04-06 14:10:17 +02:00
parent 9972dae32a
commit 2bd83aae73

View File

@ -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;