Removing extra overloads of rsSat() and rvSat().

Also a few minor fixes to docs and indentation while in the area.
This commit is contained in:
Atgeirr Flø Rasmussen
2015-03-05 18:47:04 +01:00
parent 64769f1062
commit a347e35304
5 changed files with 24 additions and 140 deletions

View File

@@ -528,8 +528,9 @@ namespace Opm {
// pressure into account. This facility uses the
// average *hydrocarbon* pressure rather than
// average phase pressure.
Rmax_.col(io) = props_.rsSat(p_avg_, T_avg_, repcells_);
Rmax_.col(ig) = props_.rvSat(p_avg_, T_avg_, repcells_);
typedef BlackoilPropsAdInterface::ADB ADB;
Rmax_.col(io) = props_.rsSat(ADB::constant(p_avg_), ADB::constant(T_avg_), repcells_).value();
Rmax_.col(ig) = props_.rvSat(ADB::constant(p_avg_), ADB::constant(T_avg_), repcells_).value();
}
}