Make some methods const.

The methods are: computeWellFlux(), updatePerfPhaseRatesAndPressures()
and extractWellPerfProperties().
This commit is contained in:
Atgeirr Flø Rasmussen
2015-10-15 15:18:12 +02:00
committed by Kai Bao
parent 847ae2ef8c
commit e82828527c
2 changed files with 6 additions and 6 deletions

View File

@@ -390,7 +390,7 @@ namespace Opm {
void
extractWellPerfProperties(std::vector<ADB>& mob_perfcells,
std::vector<ADB>& b_perfcells);
std::vector<ADB>& b_perfcells) const;
void
solveWellEq(const std::vector<ADB>& mob_perfcells,
@@ -403,12 +403,12 @@ namespace Opm {
const std::vector<ADB>& mob_perfcells,
const std::vector<ADB>& b_perfcells,
V& aliveWells,
std::vector<ADB>& cq_s);
std::vector<ADB>& cq_s) const;
void
updatePerfPhaseRatesAndPressures(const std::vector<ADB>& cq_s,
const SolutionState& state,
WellState& xw);
WellState& xw) const;
void
addWellFluxEq(const std::vector<ADB>& cq_s,