From 1d6996b905bfa8ee690357bacd044fd4d7cf6b50 Mon Sep 17 00:00:00 2001 From: vtn Date: Mon, 24 Mar 2014 11:47:53 +0400 Subject: [PATCH] VisuPrs/imps/A1.py changed --- test/VisuPrs/imps/A1.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/VisuPrs/imps/A1.py b/test/VisuPrs/imps/A1.py index be1f0b8e..a6acef9e 100644 --- a/test/VisuPrs/imps/A1.py +++ b/test/VisuPrs/imps/A1.py @@ -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 -- 2.39.2