mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
MultisegmentWell: make initPrimaryVariablesEvaluation non-const
this will obviously update state
This commit is contained in:
parent
10a671e88c
commit
6b61af21b3
@ -83,7 +83,7 @@ initMatrixAndVectors(const int num_cells)
|
||||
template<typename FluidSystem, typename Indices, typename Scalar>
|
||||
void
|
||||
MultisegmentWellEval<FluidSystem,Indices,Scalar>::
|
||||
initPrimaryVariablesEvaluation() const
|
||||
initPrimaryVariablesEvaluation()
|
||||
{
|
||||
for (int seg = 0; seg < this->numberOfSegments(); ++seg) {
|
||||
for (int eq_idx = 0; eq_idx < numWellEq; ++eq_idx) {
|
||||
|
@ -103,12 +103,11 @@ protected:
|
||||
MultisegmentWellEval(WellInterfaceIndices<FluidSystem,Indices,Scalar>& baseif);
|
||||
|
||||
void initMatrixAndVectors(const int num_cells);
|
||||
void initPrimaryVariablesEvaluation() const;
|
||||
void initPrimaryVariablesEvaluation();
|
||||
|
||||
void assembleDefaultPressureEq(const int seg,
|
||||
WellState& well_state);
|
||||
|
||||
|
||||
// assemble pressure equation for ICD segments
|
||||
void assembleICDPressureEq(const int seg,
|
||||
const UnitSystem& unit_system,
|
||||
|
Loading…
Reference in New Issue
Block a user