Remove unused argument from several functions.

This commit is contained in:
Atgeirr Flø Rasmussen 2015-02-17 10:28:11 +01:00
parent 2f7a87aa4b
commit a38bdaf4c3
3 changed files with 5 additions and 10 deletions

View File

@ -327,7 +327,7 @@ namespace Opm
{
init(eclipseState, timeStep, UgGridHelpers::numCells(grid),
UgGridHelpers::globalCell(grid), UgGridHelpers::cartDims(grid),
UgGridHelpers::dimensions(grid), UgGridHelpers::beginCellCentroids(grid),
UgGridHelpers::dimensions(grid),
UgGridHelpers::cell2Faces(grid), UgGridHelpers::beginFaceCentroids(grid),
permeability);

View File

@ -140,14 +140,13 @@ namespace Opm
private:
template<class CC, class C2F, class FC>
template<class C2F, class FC>
void init(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 C2F& cell_to_faces,
FC begin_face_centroids,
const double* permeability);
@ -158,12 +157,11 @@ namespace Opm
void setupWellControls(std::vector<WellConstPtr>& wells, size_t timeStep,
std::vector<std::string>& well_names, const PhaseUsage& phaseUsage);
template<class C2F, class CC, class FC, class NTG>
template<class C2F, class FC, class NTG>
void createWellsFromSpecs( std::vector<WellConstPtr>& wells, size_t timeStep,
const C2F& cell_to_faces,
const int* cart_dims,
FC begin_face_centroids,
CC begin_cell_centroids,
int dimensions,
std::vector<std::string>& well_names,
std::vector<WellData>& well_data,

View File

@ -100,12 +100,11 @@ getCubeDim(const C2F& c2f,
namespace Opm
{
template<class C2F, class CC, class FC, class NTG>
template<class C2F, class FC, class NTG>
void WellsManager::createWellsFromSpecs(std::vector<WellConstPtr>& wells, size_t timeStep,
const C2F& c2f,
const int* cart_dims,
FC begin_face_centroids,
CC begin_cell_centroids,
int dimensions,
std::vector<std::string>& well_names,
std::vector<WellData>& well_data,
@ -271,7 +270,7 @@ WellsManager(const Opm::EclipseStateConstPtr eclipseState,
}
/// Construct wells from deck.
template <class CC, class C2F, class FC>
template <class C2F, class FC>
void
WellsManager::init(const Opm::EclipseStateConstPtr eclipseState,
const size_t timeStep,
@ -279,7 +278,6 @@ WellsManager::init(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)
@ -327,7 +325,6 @@ WellsManager::init(const Opm::EclipseStateConstPtr eclipseState,
createWellsFromSpecs(wells, timeStep, cell_to_faces,
cart_dims,
begin_face_centroids,
begin_cell_centroids,
dimensions,
well_names, well_data, well_names_to_index,
pu, cartesian_to_compressed, permeability, ntg);