From f7b84027b70cc83daa0ed067f6177b871e0d07a4 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Thu, 24 Sep 2009 11:39:55 +0000
Subject: [PATCH] use addCellData to add cell data

[[Imported from SVN: r4877]]
---
 dirneucoupling.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dirneucoupling.cc b/dirneucoupling.cc
index c6d48855..dcd5d435 100644
--- a/dirneucoupling.cc
+++ b/dirneucoupling.cc
@@ -719,7 +719,7 @@ int main (int argc, char *argv[]) try
 
     BlockVector<FieldVector<double,1> > stress;
     Stress<GridType>::getStress(grid, x3d, stress, E, nu);
-    amiraMeshWriter.addVertexData(stress, grid.leafView());
+    amiraMeshWriter.addCellData(stress, grid.leafView());
 
     amiraMeshWriter.write(resultPath + "grid.result");
 
-- 
GitLab