moving numWellVars from models to Wells.

This commit is contained in:
Kai Bao
2016-05-11 10:35:11 +02:00
parent b3d1c0eabc
commit f2b7f2a56c
7 changed files with 17 additions and 32 deletions

View File

@@ -112,19 +112,6 @@ namespace Opm {
template <class Grid>
int
BlackoilMultiSegmentModel<Grid>::numWellVars() const
{
// For each segment, we have a pressure variable, and one flux per phase.
const int nseg = wellModel().numSegment();
return (numPhases() + 1) * nseg;
}
template <class Grid>
void
BlackoilMultiSegmentModel<Grid>::makeConstantState(SolutionState& state) const