mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
@@ -85,9 +85,9 @@ public:
|
||||
*/
|
||||
const std::map<std::pair<std::string, std::string>, Scalar>&
|
||||
getWellTracerRates() const {return wellTracerRate_;}
|
||||
const std::map<std::pair<std::string, std::string>, double>&
|
||||
const std::map<std::pair<std::string, std::string>, Scalar>&
|
||||
getWellFreeTracerRates() const {return wellFreeTracerRate_;}
|
||||
const std::map<std::pair<std::string, std::string>, double>&
|
||||
const std::map<std::pair<std::string, std::string>, Scalar>&
|
||||
getWellSolTracerRates() const {return wellSolTracerRate_;}
|
||||
|
||||
template<class Serializer>
|
||||
@@ -136,8 +136,8 @@ protected:
|
||||
|
||||
// <wellName, tracerIdx> -> wellRate
|
||||
std::map<std::pair<std::string, std::string>, Scalar> wellTracerRate_;
|
||||
std::map<std::pair<std::string, std::string>, double> wellFreeTracerRate_;
|
||||
std::map<std::pair<std::string, std::string>, double> wellSolTracerRate_;
|
||||
std::map<std::pair<std::string, std::string>, Scalar> wellFreeTracerRate_;
|
||||
std::map<std::pair<std::string, std::string>, Scalar> wellSolTracerRate_;
|
||||
/// \brief Function returning the cell centers
|
||||
std::function<std::array<double,dimWorld>(int)> centroids_;
|
||||
};
|
||||
|
||||
@@ -466,7 +466,7 @@ protected:
|
||||
this->wellSolTracerRate_[std::make_pair(eclWell.name(), this->wellsname(tr.idx_[tIdx]))] = 0.0;
|
||||
}
|
||||
|
||||
std::vector<double> wtracer(tr.numTracer());
|
||||
std::vector<Scalar> wtracer(tr.numTracer());
|
||||
for (int tIdx = 0; tIdx < tr.numTracer(); ++tIdx) {
|
||||
wtracer[tIdx] = this->currentConcentration_(eclWell, this->name(tr.idx_[tIdx]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user