diff --git a/opm/core/wells/WellsManager.cpp b/opm/core/wells/WellsManager.cpp index 07448cc45..64bb62338 100644 --- a/opm/core/wells/WellsManager.cpp +++ b/opm/core/wells/WellsManager.cpp @@ -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); diff --git a/opm/core/wells/WellsManager.hpp b/opm/core/wells/WellsManager.hpp index 58c8f5796..c39610e0c 100644 --- a/opm/core/wells/WellsManager.hpp +++ b/opm/core/wells/WellsManager.hpp @@ -140,14 +140,13 @@ namespace Opm private: - template + template 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& wells, size_t timeStep, std::vector& well_names, const PhaseUsage& phaseUsage); - template + template void createWellsFromSpecs( std::vector& 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& well_names, std::vector& well_data, diff --git a/opm/core/wells/WellsManager_impl.hpp b/opm/core/wells/WellsManager_impl.hpp index bd5f0d4ba..1234b8277 100644 --- a/opm/core/wells/WellsManager_impl.hpp +++ b/opm/core/wells/WellsManager_impl.hpp @@ -100,12 +100,11 @@ getCubeDim(const C2F& c2f, namespace Opm { -template +template void WellsManager::createWellsFromSpecs(std::vector& wells, size_t timeStep, const C2F& c2f, const int* cart_dims, FC begin_face_centroids, - CC begin_cell_centroids, int dimensions, std::vector& well_names, std::vector& well_data, @@ -271,7 +270,7 @@ WellsManager(const Opm::EclipseStateConstPtr eclipseState, } /// Construct wells from deck. -template +template 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);