Don't check input values. Defaults are fine.

While here, also return zero, which although not strictly needed,
nevertheless indicates to the reader that we're exiting successfully.
This commit is contained in:
Bård Skaflestad 2013-05-08 00:17:35 +02:00
parent 843499e071
commit 146b1223d2

View File

@ -10,7 +10,7 @@
int
main(int argc, char* argv[])
{
const Opm::parameter::ParameterGroup param(argc, argv);
const Opm::parameter::ParameterGroup param(argc, argv, false);
const Opm::GridManager gm(3, 3);
const UnstructuredGrid* g = gm.c_grid();
@ -19,4 +19,6 @@ main(int argc, char* argv[])
typedef Opm::ImpesTPFAAD<Opm::BlackoilPropertiesInterface> PSolver;
PSolver ps(*g, props);
return 0;
}