Complete function argument cleanup.

This commit is contained in:
Atgeirr Flø Rasmussen 2015-02-17 13:56:02 +01:00
parent a38bdaf4c3
commit 529662ca1a
2 changed files with 3 additions and 5 deletions

View File

@ -72,14 +72,13 @@ namespace Opm
/// The permeability argument may be zero if the input contain
/// well productivity indices, otherwise it must be given in
/// order to approximate these by the Peaceman formula.
template<class CC, class F2C, class FC>
template<class F2C, class FC>
WellsManager(const Opm::EclipseStateConstPtr eclipseState,
const size_t timeStep,
int num_cells,
const int* global_cell,
const int* cart_dims,
int dimensions,
CC begin_cell_centroids,
const F2C& f2c,
FC begin_face_centroids,
const double* permeability);

View File

@ -250,7 +250,7 @@ void WellsManager::createWellsFromSpecs(std::vector<WellConstPtr>& wells, size_t
}
}
template <class CC, class C2F, class FC>
template <class C2F, class FC>
WellsManager::
WellsManager(const Opm::EclipseStateConstPtr eclipseState,
const size_t timeStep,
@ -258,14 +258,13 @@ WellsManager(const Opm::EclipseStateConstPtr eclipseState,
const int* global_cell,
const int* cart_dims,
int dimensions,
CC begin_cell_centroids,
const C2F& cell_to_faces,
FC begin_face_centroids,
const double* permeability)
: w_(0)
{
init(eclipseState, timeStep, number_of_cells, global_cell,
cart_dims, dimensions, begin_cell_centroids,
cart_dims, dimensions,
cell_to_faces, begin_face_centroids, permeability);
}