Simulator Blackoil and StandardWellsDense uses same rate_converter

fixing the running of group control.
This commit is contained in:
Kai Bao
2017-08-09 12:32:45 +02:00
parent 0a440d98ce
commit cf902e1a8b
3 changed files with 22 additions and 8 deletions

View File

@@ -46,7 +46,7 @@ namespace Opm {
const double gravity_arg,
const std::vector<double>& depth_arg,
const std::vector<double>& pv_arg,
const RateConverterType* rate_converter,
RateConverterType* rate_converter,
long int global_nc,
const Grid& grid)
{
@@ -143,6 +143,19 @@ namespace Opm {
template<typename TypeTag>
typename StandardWellsDense<TypeTag>::RateConverterType*
StandardWellsDense<TypeTag>::
rateConverter() const
{
return rate_converter_;
}
template<typename TypeTag>
SimulatorReport
StandardWellsDense<TypeTag>::