wave_depth
Key of the [phases] table. Qualified name: phases.wave_depth
Deepest event wave a phase barrier delivers, from 1 to 1000; a deeper cascade stops the run with its event chain.
- Type
- integer
- Unit
- none
- Default
- 8used when the key is absent
- Valid range
- 1 to 1000whole numbers
- Set in
- [phases]optional table
- Since
- 0.1engine 0.1.0
Description
wave_depth is optional. When it is absent, the engine uses 8, and writes that value into effective.toml in the output folder. The value is an integer from 1 to 1000; outside that range the engine stops with E1013.
Example
# scenario.toml
[scenario]
name = "tracer"
seed = 20180101
[time]
start = 2018-01-01
end = 2019-01-01
[phases]
wave_depth = 8 # this page
[plugins."test/ticker"]Run it with the engine built from source: cohortix run scenario.toml --output output/example.
Related
When the key is misspelled
Written wvae_depth, the key is refused before anything runs with the nearest accepted name:
error[E1022]: Unknown key `wvae_depth` in [phases]; did you mean `wave_depth`?
--> scenario.toml:12:1
= fix: Rename `wvae_depth` to `wave_depth`, or remove it; the accepted keys of [phases] are "order", "wave_depth".
Errors that name this key
E1008:wave_depthmust be …, but it is ….E1013:wave_depthis …, outside the allowed range … to ….E1022: Unknown key…in [phases]; did you mean…?
See also
- [phases]Phases run at every step, in order (AD-10).
- orderOrdered list of the phases run at every step
Generated from crates/cohortix-kernel/src/scenario/config.rs. Do not edit. This page (key phases.wave_depth) is built from the engine sources at every documentation build. To change it, edit its ConfigKey in kernel_groups() and its one-line comment config.key.phases.wave_depth in schemas/messages/en.toml and open a pull request.