Commit 61de73f2 authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

[common] update the default use message

Also remove unnecessary inclusions of the header.
parent 74bcb339
......@@ -39,29 +39,28 @@ inline std::string defaultUsageMessage(const std::string& programName)
return "Usage: " + programName + " [options] \n"
"Options usually are parameters given to the simulation, \n"
"and have to be specified with this syntax: \n"
"\t-GroupName.ParameterName VALUE, for example -TimeManager.TEnd 100\n"
"\t-GroupName.ParameterName VALUE, for example -TimeLoop.TEnd 100\n"
"\n"
"If -ParameterFile is specified, parameters can also be defined there. In this case,\n"
"Parameters can also be defined in a parameter file that consists of\n"
"lines of the form \n"
"GroupName.ParameterName = VALUE # comment \n"
"have to be used. More conveniently, group names can be specified in square brackets, \n"
"such that each following parameter name belongs to that group, \n"
"[GroupName] \n"
"ParameterName = VALUE \n"
"See test/boxmodels/2p/test_2p.input for an example of a parameter file \n"
"See files named `params.input` in the `test` folder for examples \n"
"and the Dune documentation of ParameterTreeParser for the format specification. \n"
"\n"
"Parameters specified on the command line have priority over those in the parameter file.\n"
"If no parameter file name is given, './<programname>.input' is chosen as default.\n"
"If no parameter file name is given, './<programname>.input' is chosen as first\n"
"and './params.input' as second default.\n"
"\n"
"Important options include:\n"
"\t-h, --help Print this usage message and exit\n"
"\t-PrintParameters [true|false] Print the run-time modifiable parameters _after_ \n"
"\t the simulation [default: true]\n"
"\t-PrintProperties [true|false] Print the compile-time parameters _before_ \n"
"\t the simulation [default: false]\n"
"\t-ParameterFile FILENAME File with parameter definitions\n"
"\t-TimeManager.Restart RESTARTTIME Restart simulation from a restart file\n"
"\t-TimeLoop.Restart RESTARTTIME Restart simulation from a restart file\n"
"\n\n";
}
......
......@@ -33,7 +33,6 @@
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/io/grid/gridmanager.hh>
#warning "start.hh is deprecated. Use new style main files see e.g. /test/porousmediumflow/1p."
......
......@@ -37,7 +37,6 @@
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/io/grid/gridmanager.hh>
#include <dumux/linear/amgbackend.hh>
......
......@@ -35,7 +35,6 @@
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/io/grid/gridmanager.hh>
#include <dumux/linear/amgbackend.hh>
......
......@@ -38,7 +38,6 @@
#include <dumux/common/parameters.hh>
#include <dumux/common/valgrind.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/linear/amgbackend.hh>
#include <dumux/nonlinear/newtonsolver.hh>
......
......@@ -39,7 +39,6 @@
#include <dumux/common/parameters.hh>
#include <dumux/common/valgrind.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/linear/amgbackend.hh>
#include <dumux/nonlinear/newtonsolver.hh>
......
......@@ -35,7 +35,6 @@
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/assembly/diffmethod.hh>
#include <dumux/discretization/method.hh>
......
......@@ -31,7 +31,6 @@
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/assembly/diffmethod.hh>
#include <dumux/linear/seqsolverbackend.hh>
......
......@@ -30,7 +30,6 @@
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/assembly/diffmethod.hh>
#include <dumux/linear/seqsolverbackend.hh>
......
......@@ -31,7 +31,6 @@
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include "problem_bulk.hh"
#include "problem_facet.hh"
......
......@@ -38,7 +38,6 @@
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/assembly/diffmethod.hh>
#include <dumux/discretization/method.hh>
......
......@@ -33,7 +33,6 @@
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/assembly/diffmethod.hh>
......
......@@ -35,7 +35,6 @@
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/assembly/diffmethod.hh>
......
......@@ -40,7 +40,6 @@
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/nonlinear/newtonsolver.hh>
#include <dumux/linear/seqsolverbackend.hh>
......
......@@ -38,7 +38,6 @@
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/nonlinear/newtonsolver.hh>
#include <dumux/linear/seqsolverbackend.hh>
......
......@@ -39,7 +39,6 @@
#include <dumux/common/parameters.hh>
#include <dumux/common/valgrind.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/linear/amgbackend.hh>
#include <dumux/nonlinear/newtonsolver.hh>
......
......@@ -43,7 +43,6 @@
#include <dumux/common/parameters.hh>
#include <dumux/common/valgrind.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/io/vtkoutputmodule.hh>
#include <dumux/io/grid/gridmanager.hh>
......
......@@ -39,7 +39,6 @@
#include <dumux/common/parameters.hh>
#include <dumux/common/valgrind.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/linear/amgbackend.hh>
#include <dumux/nonlinear/newtonsolver.hh>
......
......@@ -39,7 +39,6 @@
#include <dumux/common/parameters.hh>
#include <dumux/common/valgrind.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/linear/amgbackend.hh>
#include <dumux/nonlinear/newtonsolver.hh>
......
......@@ -40,7 +40,6 @@
#include <dumux/common/parameters.hh>
#include <dumux/common/valgrind.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/linear/amgbackend.hh>
#include <dumux/nonlinear/newtonsolver.hh>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment