next up previous index
Next: Lock-up Up: Output Previous: Write or plot computed   Index

Write or plot intermediate results


\begin{picture}(18,0.12)
\thicklines
\put(0,0){\line(1,0){17}}
\put(0,0.1){\line(1,0){17}}
\end{picture}

                                | -> IJ < [i] [j] >  |
TEST  [itest] [itrace]  POINTS <                      >   &
                                |    XY < [x] [y] >  |

      (FILE `fname')

\begin{picture}(18,0.12)
\thicklines
\put(0,0){\line(1,0){17}}
\put(0,0.1){\line(1,0){17}}
\end{picture}

If SWASH produces unexpected results, this optional command can be used to instruct the program to produce intermediate results during a SWASH run (test output). A TEST command may change between commands in the file to change the level of test output during a SWASH run. This change occurs during the execution of the run. A TEST command controls the test output until the next TEST command. Such a next TEST command may have level 0, thus stopping test output.


[itest] the level of test output. For values under 100 the amount is usually reasonable,  
  for values above 200 it can be very large. For values of [itest] up to 50 the  
  test output can be interpreted by the user. For higher values of [itest] the  
  test output can only be interpreted by those who have the program source listing  
  at their disposal.  
  Default: [itest] = 1  
[itrace] SWASH writes a message (name of subroutine) to the PRINT file at the first  
  [itrace] entries of each subroutine.  
  Default: [itrace] = 0  
POINTS if this option is used, the user instructs SWASH to produce detailed print output  
  during the computational process for a grid point of the computational grid.  
  Output at a maximum of 50 grid points is possible. This option can be used  
  only after the bathymetry has been read (see command READINP BOTTOM).  
IJ the test points are defined by means of grid indices.  
[i], [j] grid indices of a test point. Values of [i] range from 1 to [mxc]+1  
  (see command CGRID), values of [j] from 1 to [myc]+1.  
XY the test points are defined in terms of problem coordinates; SWASH will determine  
  the nearest grid points. Output will be made for this selected grid point.  
[x], [y] coordinates of a test point (problem coordinates in meters in case of Cartesian  
  coordinates, or longitude and latitude in degrees in case of spherical coordinates,  
  see command COORD).  
FILE some flow variables for test points are written.  
`fname' name of the file to which the output is written; default filename: DIAGNOSTIC.  


next up previous index
Next: Lock-up Up: Output Previous: Write or plot computed   Index
The SWASH team 2017-04-06