1d_fd_simple_shear

continuum model for granular flows with pore-pressure dynamics
git clone git://src.adamsgaard.dk/1d_fd_simple_shear
Log | Files | Refs | README | LICENSE Back to index

commit e03d50cff4846a4816d315727d33902b2f190188
parent a06d8b2272c0dd6273b7f1abe88e6d4921db6a5a
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon,  6 Apr 2020 13:26:09 +0200

Add explanation of error codes to man page

Diffstat:
M1d_fd_simple_shear.1 | 23+++++++++++++++++++----
1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/1d_fd_simple_shear.1 b/1d_fd_simple_shear.1 @@ -179,11 +179,9 @@ Minimum granular material porosity [-] in transient simulations .Fl ( T ) (default 0.8). .El - The final simulation state is written to stdout, see .Sx OUTPUT FORMAT for a description of the data format. - .\" .Sh CONTEXT .\" For section 9 functions only. .\" .Sh IMPLEMENTATION NOTES @@ -195,7 +193,7 @@ for a description of the data format. .Sh OUTPUT FORMAT The output consists of the following tab-delimited fields, with one row per cell in the simulation domain: - +.Pp .Bl -enum -compact .It position [m] @@ -231,7 +229,24 @@ and output files are generated with the interval specified with .Fl I Ar file-interval . .Sh EXIT STATUS .Nm -exits 0 on succes, and >0 if an error occurs. +exits 0 on succes, and >0 if an error occurs: +.Pp +.Bl -compact +.It +0: successful exit +.It +1: unspecified error +.It +2: +.Xr pledge 2 +error (OpenBSD only) +.It +10: transient solver error +.It +11: fluid solver error +.It +12: granular solver error +.El .\" .Sh EXAMPLES .\" .Sh DIAGNOSTICS .\" For sections 1, 4, 6, 7, 8, and 9 printf/stderr messages only.