From: Guido Kanschat Date: Tue, 6 Mar 2001 13:29:18 +0000 (+0000) Subject: First version X-Git-Tag: v8.0.0~19645 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=845be357fe7bf1835e780bbc06d3f26eb2a9f7c4;p=dealii.git First version git-svn-id: https://svn.dealii.org/trunk@4122 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/common/scripts/normalize.pl b/deal.II/common/scripts/normalize.pl new file mode 100644 index 0000000000..03946a3ef2 --- /dev/null +++ b/deal.II/common/scripts/normalize.pl @@ -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.*//;