Skip to content
Snippets Groups Projects
Commit 237bbcbf authored by Johannes Hommel's avatar Johannes Hommel
Browse files

[course][exercise] added info on params.input as new alternative default input file name

parent a17eaed0
No related branches found
No related tags found
1 merge request!77Towards a more consistent DUMUX course for version 3.1
...@@ -26,12 +26,13 @@ Parameters::init(argc, argv); ...@@ -26,12 +26,13 @@ Parameters::init(argc, argv);
``` ```
This input file should either be named the same as the executable file, with a This input file should either be named the same as the executable file, with a
trailing `*.input`, as is standard in our CMake system, or be explicitly written trailing `*.input`, or be named `prarams.input` as is standard in our CMake system.
Alternatively, arbitrarily named input file names can be explicitly written
as the first shell argument after the executable file is called. as the first shell argument after the executable file is called.
```bash ```bash
./exercise_runtimeparams ./exercise_runtimeparams
(Calls a file (exercise_runtimeparams.input) as the default input file.) (Calls a file (exercise_runtimeparams.input, or, if this is not present, params.input) as the default input file.)
``` ```
```bash ```bash
./exercise_runtimeparams exercise1.input ./exercise_runtimeparams exercise1.input
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment