mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fix some minor coding style issues in Ewoms::EclOutputBlackOilModule
This commit is contained in:
parent
8b89e6ed97
commit
9afa62b78b
@ -1029,8 +1029,8 @@ public:
|
|||||||
fs.setRv(rv_[elemIdx]);
|
fs.setRv(rv_[elemIdx]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void initHysteresisParams(Simulator& simulator, unsigned elemIdx) const {
|
void initHysteresisParams(Simulator& simulator, unsigned elemIdx) const
|
||||||
|
{
|
||||||
if (soMax_.size() > 0)
|
if (soMax_.size() > 0)
|
||||||
simulator.problem().setMaxOilSaturation(elemIdx, soMax_[elemIdx]);
|
simulator.problem().setMaxOilSaturation(elemIdx, soMax_[elemIdx]);
|
||||||
|
|
||||||
@ -1059,23 +1059,24 @@ public:
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Scalar getSolventSaturation(unsigned elemIdx) const {
|
Scalar getSolventSaturation(unsigned elemIdx) const
|
||||||
|
{
|
||||||
if (sSol_.size() > 0)
|
if (sSol_.size() > 0)
|
||||||
return sSol_[elemIdx];
|
return sSol_[elemIdx];
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
Scalar getPolymerConcentration(unsigned elemIdx) const {
|
Scalar getPolymerConcentration(unsigned elemIdx) const
|
||||||
|
{
|
||||||
if (cPolymer_.size() > 0)
|
if (cPolymer_.size() > 0)
|
||||||
return cPolymer_[elemIdx];
|
return cPolymer_[elemIdx];
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::map<std::pair<std::string, int>, double>& getBlockData() {
|
const std::map<std::pair<std::string, int>, double>& getBlockData()
|
||||||
return blockData_;
|
{ return blockData_; }
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user