From: W. Trevor King Date: Tue, 24 Feb 2009 00:08:38 +0000 (-0500) Subject: Increased verbose output from tension_model_utils. X-Git-Tag: v0.5~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ba244067cccd0d6371e5ba7c33178ab146960094;p=sawsim.git Increased verbose output from tension_model_utils. --- 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)