From 9deaea8b1c597176b10955ce92f397046d23b45e Mon Sep 17 00:00:00 2001
From: Thomas Witkowski <thomas.witkowski@gmx.de>
Date: Tue, 13 Apr 2010 08:20:07 +0000
Subject: [PATCH] Small bugfix in statistics script.

---
 AMDiS/other/scripts/create_statistics | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/AMDiS/other/scripts/create_statistics b/AMDiS/other/scripts/create_statistics
index 466278b8..2d583229 100755
--- a/AMDiS/other/scripts/create_statistics
+++ b/AMDiS/other/scripts/create_statistics
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-grep "for vecphase->space->feSpace" ${1} &> tmp_dof
+grep "for ${2}->space->feSpace" ${1} &> tmp_dof
 awk 'BEGIN {A = 0} {if (A == 0) { print $1; A = 1;} else A = 0}' tmp_dof &> tmp_dof0
 awk 'BEGIN {A = 1} {if (A == 0) { print $1; A = 1;} else A = 0}' tmp_dof &> tmp_dof1
 grep "timestep = " ${1} | awk '{sub(/,/, "", $3); print $3}' &> tmp_time
-- 
GitLab