From ba244067cccd0d6371e5ba7c33178ab146960094 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 23 Feb 2009 19:08:38 -0500 Subject: [PATCH] Increased verbose output from tension_model_utils. --- src/sawsim.nw | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/sawsim.nw b/src/sawsim.nw index e72da96..9a41951 100644 --- a/src/sawsim.nw +++ b/src/sawsim.nw @@ -3745,6 +3745,13 @@ int main(int argc, char **argv) if (F < 0 || F > Fmax) break; printf("%g\t%g\n", x, F); } + if (flags & VFLAG && i <= N) { + /* explain exit condition */ + if (F < 0) + printf("Impossible force %g\n", F); + else if (F > Fmax) + printf("Reached large force limit %g > %g\n", F, Fmax); + } } params = pop(&tdata.group); if (model->destructor) -- 2.26.2