making wells_rep_radius and wells_perf_length const when initializing.

This commit is contained in:
Kai Bao 2015-06-02 15:01:22 +02:00
parent 8205ad3303
commit 9cc4a5d371
2 changed files with 4 additions and 4 deletions

View File

@ -80,8 +80,8 @@ namespace Opm {
const bool has_vapoil,
const bool has_polymer,
const bool has_plyshlog,
std::vector<double>& wells_rep_radius,
std::vector<double>& wells_perf_length,
const std::vector<double>& wells_rep_radius,
const std::vector<double>& wells_perf_length,
const bool terminal_output);
/// Called once before each time step.

View File

@ -86,8 +86,8 @@ namespace Opm {
const bool has_vapoil,
const bool has_polymer,
const bool has_plyshlog,
std::vector<double>& wells_rep_radius,
std::vector<double>& wells_perf_length,
const std::vector<double>& wells_rep_radius,
const std::vector<double>& wells_perf_length,
const bool terminal_output)
: Base(param, grid, fluid, geo, rock_comp_props, wells, linsolver,
has_disgas, has_vapoil, terminal_output),