]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
VisuPrs/imps/A1.py changed
authorvtn <vtn@opencascade.com>
Mon, 24 Mar 2014 07:47:53 +0000 (11:47 +0400)
committervtn <vtn@opencascade.com>
Mon, 24 Mar 2014 07:47:53 +0000 (11:47 +0400)
test/VisuPrs/imps/A1.py

index be1f0b8ea7c6880fdf7c51969e531fb2dfff2161..a6acef9e694eb4dc33d11b112722c3d11a1f10de 100644 (file)
@@ -76,9 +76,11 @@ if cutplanes is None :
 else:
     print "OK"
 
+select_cells_with_data(med_reader, on_cells=["scalar field", "vectoriel field"])
+
 print "Setting of deformation:"
 warp_vector = pvsimple.WarpByVector(cutplanes.Input)
-warp_vector.Vectors = ["scalar field"]
+warp_vector.Vectors = ["vectoriel field"]
 warp_vector.ScaleFactor = 5.0
 
 print "Got scale     : ", warp_vector.ScaleFactor