next up previous contents
Next: Grid Up: SUNTANS Examples Previous: Running the example   Contents

Time accuracy

This example is in the examples/accuracy directory and it serves to verify the time accuracy of SUNTANS. Details of the time accuracy of SUNTANS and this particular test case can be found in Fringer et al.  [2]. The parameter file is given by, which lacks the parameters dt and nsteps. These are copied to the actual parameter file data/suntans.dat upon running the script, which runs SUNTANS with different time steps and computes accuracy criteria using the accuracy.c code. This code is a good example of how to read in and analyze SUNTANS data using the C programming language. More details are given below.