mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
friend class BlackoilModelBas in BlackoilMultiSegmentModel
and adding asImp() when using variableWellStateInitials and variableWellStateInitials.
This commit is contained in:
parent
eb73b64e3d
commit
02b187e14c
@ -496,7 +496,7 @@ namespace detail {
|
||||
// and bhp and Q for the wells
|
||||
vars0.reserve(np + 1);
|
||||
variableReservoirStateInitials(x, vars0);
|
||||
variableWellStateInitials(xw, vars0);
|
||||
asImpl().variableWellStateInitials(xw, vars0);
|
||||
return vars0;
|
||||
}
|
||||
|
||||
@ -681,7 +681,7 @@ namespace detail {
|
||||
}
|
||||
}
|
||||
// wells
|
||||
variableStateExtractWellsVars(indices, vars, state);
|
||||
asImpl().variableStateExtractWellsVars(indices, vars, state);
|
||||
return state;
|
||||
}
|
||||
|
||||
|
@ -60,6 +60,8 @@ namespace Opm {
|
||||
typedef typename Base::WellState WellState;
|
||||
typedef BlackoilMultiSegmentSolutionState SolutionState;
|
||||
|
||||
friend Base;
|
||||
|
||||
// --------- Public methods ---------
|
||||
|
||||
/// Construct the model. It will retain references to the
|
||||
|
Loading…
Reference in New Issue
Block a user