making a forwarded updateListEconLimited in SimulatorBase.

and some changes to make the code compile for all the simulators.
This commit is contained in:
Kai Bao
2016-06-30 11:36:09 +02:00
parent 98a6495abc
commit b2524a7dc3
6 changed files with 62 additions and 2 deletions

View File

@@ -119,9 +119,17 @@ namespace Opm
WellsManager& wells_manager,
typename BaseType::WellState& well_state,
const Wells* wells);
void updateListEconLimited(const std::unique_ptr<Solver>& solver,
ScheduleConstPtr schedule,
const int current_step,
const Wells* wells,
const WellState& well_state,
DynamicListEconLimited& list_econ_limited) const;
private:
Opm::DeckConstPtr deck_;
const PolymerPropsAd& polymer_props_;
};
} // namespace Opm

View File

@@ -98,6 +98,23 @@ handleAdditionalWellInflow(SimulatorTimer& timer,
}
template <class GridT>
void
SimulatorFullyImplicitCompressiblePolymer<GridT>::
updateListEconLimited(const std::unique_ptr<Solver>& /*solver*/,
ScheduleConstPtr /*schedule*/,
const int /*current_step*/,
const Wells* /*wells*/,
const WellState& /*well_state*/,
DynamicListEconLimited& /*list_econ_limited*/) const
{
}
} // namespace Opm
#endif // OPM_SIMULATORFULLYIMPLICITCOMPRESSIBLEPOLYMER_HEADER_INCLUDED