fix some minor coding style issues in Ewoms::EclOutputBlackOilModule

This commit is contained in:
Andreas Lauser 2019-02-01 17:33:30 +01:00
parent 8b89e6ed97
commit 9afa62b78b

View File

@ -1029,8 +1029,8 @@ public:
fs.setRv(rv_[elemIdx]);
}
void initHysteresisParams(Simulator& simulator, unsigned elemIdx) const {
void initHysteresisParams(Simulator& simulator, unsigned elemIdx) const
{
if (soMax_.size() > 0)
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)
return sSol_[elemIdx];
return 0;
}
Scalar getPolymerConcentration(unsigned elemIdx) const {
Scalar getPolymerConcentration(unsigned elemIdx) const
{
if (cPolymer_.size() > 0)
return cPolymer_[elemIdx];
return 0;
}
const std::map<std::pair<std::string, int>, double>& getBlockData() {
return blockData_;
}
const std::map<std::pair<std::string, int>, double>& getBlockData()
{ return blockData_; }
private: