Gerris Manual/Object hierarchy/GfsEvent

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Events are used to control any action which needs to be performed at a given time during a simulation. This includes one off actions as well as periodically repeated actions.

The syntax in parameter files is as follows:

GfsEvent { start = 0.1 istart = 10 ( step = 1.2 | istep = 10 ) end = 0.4 iend = 123 }

with:

start
Physical starting time (default is zero). The "end" keyword can be used to indicate the end of the simulation.
istart
Time step starting time (default is zero).
step
Repeat every step physical time units (default is infinity).
istep
Repeat every istep time steps (default is infinity).
end
Stop at or before this physical time (default is infinity).
iend
Stop at or before this number of time steps (default is infinity).