GfsEvent

From Gerris

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:13, 21 December 2006
Popinet (Talk | contribs)

← Previous diff
Revision as of 23:48, 26 April 2007
Popinet (Talk | contribs)

Next diff →
Line 1: Line 1:
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. 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:+The syntax in parameter files is:
GfsEvent { start = 0.1 istart = 10 ( step = 1.2 | istep = 10 ) end = 0.4 iend = 123 } GfsEvent { start = 0.1 istart = 10 ( step = 1.2 | istep = 10 ) end = 0.4 iend = 123 }
Line 13: Line 13:
;end: Stop at or before this physical time (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). ;iend: Stop at or before this number of time steps (default is infinity).
 +
 +Note that the parameter block is optional.

Revision as of 23:48, 26 April 2007

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:

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).

Note that the parameter block is optional.

Personal tools
communication