From: ageay Date: Wed, 3 Jul 2013 08:41:33 +0000 (+0000) Subject: A draft of VTKReader X-Git-Tag: B4CMakeModifs~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=af964215ba2202f30ec24535553660ca24c2bbd9;p=modules%2Fmed.git A draft of VTKReader --- 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)