changeset 225:de8bcef865b0 feature/beams

noname.testCfl: Added if the run was stable or not to the output.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 28 Jun 2016 16:50:32 +0200
parents 05304d7792dc
children bd99ea1fc733
files +noname/testCfl.m
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
diff -r 05304d7792dc -r de8bcef865b0 +noname/testCfl.m
--- a/+noname/testCfl.m	Tue Jun 28 16:33:11 2016 +0200
+++ b/+noname/testCfl.m	Tue Jun 28 16:50:32 2016 +0200
@@ -43,8 +43,14 @@
             alpha0(2) = alpha;
         end
 
+        if ok
+            stability = 'STABLE';
+        else
+            stability = 'UNSTABLE';
+        end
+
         if ~silentFlag
-            fprintf('a = %.3e, n_step=%d  max = %.2e\n', alpha, n_step, maxVal);
+            fprintf('a = %.3e, n_step=%d %8s max = %.2e\n', alpha, n_step, stability, maxVal);
         end
     end