next up previous index
Next: Command syntax and input Up: Description of commands Previous: List of available commands   Index


Sequence of commands

SWASH executes the above command blocks (a,...,j) in the above sequence except (f), (i) and (j). The commands of the blocks (f) and (i) may appear anywhere before block (j), except that TEST POINTS must come after READINP BOTTOM. The commands of block (j) may appear anywhere in the command file (all commands after COMPUTE are ignored by SWASH, except STOP). A sequence of commands of block (g) is permitted (all commands will be executed without overriding). Also a sequence of commands of block (h) is permitted (all commands will be executed without overriding).


Within the blocks the following sequence is to be used:

In block (a) : no prescribed sequence in block  
In block (b) : READGRID after CGRID, and VERT after CGRID  
In block (c) : READINP after INPGRID (repeat both in this sequence for each quantity)  
In block (d) : no prescribed sequence in block  
In block (e) : no prescribed sequence in block  
In block (f) : no prescribed sequence in block  
In block (g) : ISOLINE after RAY (ISOLINE and RAY can be repeated independently)  
In block (h) : no prescribed sequence in block  
In block (i) : no prescribed sequence in block  
In block (j) : STOP after COMPUTE  

It must be noted that a repetition of a command may override an earlier occurrence of that command.


Many commands provide the user with the opportunity to choose an option (e.g. discretization scheme) or assign values to coefficients (e.g. bottom friction coefficient). If the user does not use such option SWASH will use a default value.


Some commands cannot be used in 1D-mode (see individual command descriptions below).


next up previous index
Next: Command syntax and input Up: Description of commands Previous: List of available commands   Index
The SWASH team 2017-04-06