mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
Merge pull request #786 from atgeirr/unhandled-arguments
Store unhandled command-line arguments
This commit is contained in:
commit
3562cde8b9
@ -60,7 +60,7 @@ try
|
|||||||
{
|
{
|
||||||
using namespace Opm;
|
using namespace Opm;
|
||||||
|
|
||||||
parameter::ParameterGroup param(argc, argv, false);
|
parameter::ParameterGroup param(argc, argv);
|
||||||
|
|
||||||
// Read grid.
|
// Read grid.
|
||||||
GridManager grid_manager(param.get<std::string>("grid_filename"));
|
GridManager grid_manager(param.get<std::string>("grid_filename"));
|
||||||
|
@ -81,7 +81,7 @@ try
|
|||||||
using namespace Opm;
|
using namespace Opm;
|
||||||
|
|
||||||
// Setup.
|
// Setup.
|
||||||
parameter::ParameterGroup param(argc, argv, false);
|
parameter::ParameterGroup param(argc, argv);
|
||||||
std::cout << "--------------- Reading parameters ---------------" << std::endl;
|
std::cout << "--------------- Reading parameters ---------------" << std::endl;
|
||||||
const std::string deck_filename = param.get<std::string>("deck_filename");
|
const std::string deck_filename = param.get<std::string>("deck_filename");
|
||||||
Opm::ParserPtr parser(new Opm::Parser() );
|
Opm::ParserPtr parser(new Opm::Parser() );
|
||||||
|
@ -77,7 +77,7 @@ try
|
|||||||
{
|
{
|
||||||
using namespace Opm;
|
using namespace Opm;
|
||||||
|
|
||||||
parameter::ParameterGroup param(argc, argv, false);
|
parameter::ParameterGroup param(argc, argv);
|
||||||
|
|
||||||
// Read grid.
|
// Read grid.
|
||||||
GridManager grid_manager(param.get<std::string>("grid_filename"));
|
GridManager grid_manager(param.get<std::string>("grid_filename"));
|
||||||
|
Loading…
Reference in New Issue
Block a user