Description Usage Arguments Value Note
Initialise a results object to handle the results of TELEMAC-2D runs.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | results(x, ...)
## Default S3 method:
results(x = NULL, fname = "results.slf", ...)
## S3 method for class 'character'
results(x, fname = NULL, log = NULL, ...)
## S3 method for class 't2d_res'
results(x, fname = NULL, log = NULL, ...)
## S3 method for class 't2d'
results(x, ...)
## S3 method for class 't2d_res'
print(x, ..., n = 10)
|
x |
Either: |
... |
Arguments passed to or from other methods, e.g. to |
fname |
|
log |
File name of a log file from a simulation run, if it exists. |
n |
Maximum number of steering parameters to print. |
An object of class t2d_res
consisting of an attribute file
pointing to a specific results file, an attribute log
pointing to the log
of a simulation run, and a list
with elements
General information including title, precision (of numbers in the slf file in bytes), the numbers of mesh elements and points, the number of points per mesh (3 in case of triangles which is the only supported value for now), the variable names and units, and the simulation start date.
An object of class t2d_tin
representing the underlying mesh.
The log messages (a character
vector).
A data.frame
where each line represents the value for a
certain mesh point (with coordinates x and y) at a certain simulation timestep (note
that this might be difficult to interpret if you used variable timestep lengths) for a
specific variable.
Also note the associated plot.t2d_res
method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.