tAdd explanation of error codes to man page - cngf-pf - continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear)
(HTM) git clone git://src.adamsgaard.dk/cngf-pf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit e03d50cff4846a4816d315727d33902b2f190188
(DIR) parent a06d8b2272c0dd6273b7f1abe88e6d4921db6a5a
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 6 Apr 2020 13:26:09 +0200
Add explanation of error codes to man page
Diffstat:
M 1d_fd_simple_shear.1 | 23 +++++++++++++++++++----
1 file changed, 19 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/1d_fd_simple_shear.1 b/1d_fd_simple_shear.1
t@@ -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
t@@ -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]
t@@ -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.