mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #1237 from atgeirr/fix-auto-grid
[bugfix][StandardWellsDense] Remove auto from method parameter list, take 2
This commit is contained in:
commit
4b5c9c03a4
@ -77,6 +77,7 @@ enum WellVariablePositions {
|
||||
typedef WellStateFullyImplicitBlackoilDense WellState;
|
||||
typedef BlackoilModelParameters ModelParameters;
|
||||
|
||||
typedef typename GET_PROP_TYPE(TypeTag, Grid) Grid;
|
||||
typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem;
|
||||
typedef typename GET_PROP_TYPE(TypeTag, ElementContext) ElementContext;
|
||||
typedef typename GET_PROP_TYPE(TypeTag, Indices) BlackoilIndices;
|
||||
@ -121,7 +122,7 @@ enum WellVariablePositions {
|
||||
const std::vector<double>& pv_arg,
|
||||
const RateConverterType* rate_converter,
|
||||
long int global_nc,
|
||||
const auto& grid);
|
||||
const Grid& grid);
|
||||
|
||||
|
||||
/// The number of components in the model.
|
||||
@ -416,7 +417,7 @@ enum WellVariablePositions {
|
||||
|
||||
void setupCompressedToCartesian(const int* global_cell, int number_of_cells, std::map<int,int>& cartesian_to_compressed ) const;
|
||||
|
||||
void computeRepRadiusPerfLength(const auto& grid);
|
||||
void computeRepRadiusPerfLength(const Grid& grid);
|
||||
|
||||
|
||||
};
|
||||
|
@ -49,7 +49,7 @@ namespace Opm {
|
||||
const std::vector<double>& pv_arg,
|
||||
const RateConverterType* rate_converter,
|
||||
long int global_nc,
|
||||
const auto& grid)
|
||||
const Grid& grid)
|
||||
{
|
||||
// has to be set always for the convergence check!
|
||||
global_nc_ = global_nc;
|
||||
@ -3161,7 +3161,7 @@ namespace Opm {
|
||||
template<typename TypeTag>
|
||||
void
|
||||
StandardWellsDense<TypeTag>::
|
||||
computeRepRadiusPerfLength(const auto& grid)
|
||||
computeRepRadiusPerfLength(const Grid& grid)
|
||||
{
|
||||
|
||||
// TODO, the function does not work for parallel running
|
||||
|
Loading…
Reference in New Issue
Block a user