-
Notifications
You must be signed in to change notification settings - Fork 19
Issue 1438 - Fixed parameter naming #1546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -347,6 +347,7 @@ Parameter definitions | |
| wavefield: | ||
| format: HDF5 | ||
| directory: /path/to/output/folder | ||
| time-interval: 10 | ||
|
|
||
| display: | ||
| format: PNG | ||
|
|
@@ -424,12 +425,20 @@ Parameter definitions | |
|
|
||
| :possible values: [string] | ||
|
|
||
| .. dropdown:: ``for_adjoint_simulations`` [optional] | ||
| .. dropdown:: ``time-interval`` [optional] | ||
|
|
||
| Time step interval for writing the wavefield. | ||
|
|
||
| :default value: 1 (-> every time step) | ||
|
|
||
| :possible values: [int] | ||
|
|
||
| .. dropdown:: ``include-last-step`` [optional] | ||
|
|
||
| Flag to indicate if the wavefield written with the intension to | ||
| be used in adjoint simulations. | ||
| Flag to indicate if the last time step should be included | ||
| when writing the wavefield. | ||
|
|
||
| :default value: False | ||
| :default value: True | ||
|
|
||
| :possible values: [bool] | ||
|
||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documented default value for time-interval is "1 (-> every time step)" but the code returns 0 when the parameter is not provided. This inconsistency between documentation and implementation should be corrected. Either update the default value in the code to return 1, or update the documentation to reflect that the actual default is 0.