From af964215ba2202f30ec24535553660ca24c2bbd9 Mon Sep 17 00:00:00 2001 From: ageay Date: Wed, 3 Jul 2013 08:41:33 +0000 Subject: [PATCH] A draft of VTKReader --- src/MEDLoader/Swig/VTKReader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MEDLoader/Swig/VTKReader.py b/src/MEDLoader/Swig/VTKReader.py index 8359d26da..4af22c8cf 100644 --- a/src/MEDLoader/Swig/VTKReader.py +++ b/src/MEDLoader/Swig/VTKReader.py @@ -171,7 +171,7 @@ class VTURawReader: m.checkCoherency() ; mm=MEDFileUMesh() ; mm.setMeshAtLevel(0,m) ; ms.pushMesh(mm) # Fields on nodes and on cells for spatialDisc,nbEnt,fields in [(ON_NODES,rd._nb_nodes,rd._node_fields),(ON_CELLS,rd._nb_cells,rd._cell_fields)]: - for name,typ,nbCompo,off in rd._node_fields: + for name,typ,nbCompo,off in fields: ff=MEDFileFieldMultiTS() f=MEDCouplingFieldDouble(spatialDisc,ONE_TIME) f.setName(name) ; f.setMesh(m) -- 2.39.2