]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
First version
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Mar 2001 13:29:18 +0000 (13:29 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Mar 2001 13:29:18 +0000 (13:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@4122 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/scripts/normalize.pl [new file with mode: 0644]

diff --git a/deal.II/common/scripts/normalize.pl b/deal.II/common/scripts/normalize.pl
new file mode 100644 (file)
index 0000000..03946a3
--- /dev/null
@@ -0,0 +1,38 @@
+######################################################################
+# $Id$
+#
+# Copyright (C) 2001, the deal.II authors
+#
+# Remove insignificant volatile data from output files of tests
+#
+# Data affected:
+#  JobID line (containing date)
+#  line number of exceptions
+#  start and final residual in iterations
+#  small doubles
+######################################################################
+
+# Remove JobID
+
+s/JobId.*//;
+
+# Several data and time strings
+
+s/%%Creation Date:.*//;
+s/# Time =.*//;
+s/# Date =.*//; 
+s/^\s+Time =.*//;
+s/^\s+Date =.*//;
+s/Time tag:.*//g;
+
+# Make small exponentials zero
+
+s/-?\d\.\d+e-1\d+/0.00/g;
+
+# All doubles have two decimals
+
+s/(\.\d\d)\d+/\1/g;
+
+# Residual values
+
+s/value.*//;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.