tAdd explanation of error codes to man page - cngf-pf - continuum model for gra… | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit e03d50cff4846a4816d315727d33902b2f190188 | |
parent a06d8b2272c0dd6273b7f1abe88e6d4921db6a5a | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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 simul… | |
.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 specifie… | |
.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. |