Issue warning if unknown parameters are given
This commit is contained in:
@@ -226,6 +226,9 @@ try
|
|||||||
Opm::WellState well_state;
|
Opm::WellState well_state;
|
||||||
well_state.init(wells->c_wells(), state);
|
well_state.init(wells->c_wells(), state);
|
||||||
|
|
||||||
|
// Check if we have misspelled anything
|
||||||
|
warnIfUnusedParams(param);
|
||||||
|
|
||||||
// Main solvers.
|
// Main solvers.
|
||||||
Opm::time::StopWatch pressure_timer;
|
Opm::time::StopWatch pressure_timer;
|
||||||
double ptime = 0.0;
|
double ptime = 0.0;
|
||||||
|
|||||||
Reference in New Issue
Block a user