From: rnv Date: Mon, 24 Feb 2014 07:57:33 +0000 (+0400) Subject: Adaptation of the SALOME test to the new MedReader: X-Git-Tag: V7_3_1rc1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=28010f8f46d132190b1e59316976e93fc9f1fa99;p=modules%2Fkernel.git Adaptation of the SALOME test to the new MedReader: correction of the time stamp number (1 => 2), because old MedReader ignored time stamp with the name "0". --- diff --git a/src/KERNEL_PY/salome_test.py b/src/KERNEL_PY/salome_test.py index 8035aa410..f95eae4f0 100755 --- a/src/KERNEL_PY/salome_test.py +++ b/src/KERNEL_PY/salome_test.py @@ -389,7 +389,7 @@ if salome.hasDesktop(): # in gui mode print "OK" print "Creating Scalar Map.......", - scalarmap = ScalarMapOnField(med_reader, node_entity, 'vitesse', 1) + scalarmap = ScalarMapOnField(med_reader, node_entity, 'vitesse', 2) if scalarmap is None: print "FAILED" else: @@ -405,7 +405,7 @@ if salome.hasDesktop(): # in gui mode view.ResetCamera() print "Creating Vectors..........", - vectors = VectorsOnField(med_reader, node_entity, 'vitesse', 1) + vectors = VectorsOnField(med_reader, node_entity, 'vitesse', 2) if vectors is None: print "FAILED" else: @@ -413,7 +413,7 @@ if salome.hasDesktop(): # in gui mode print "OK" print "Creating Iso Surfaces.....", - isosurfaces = IsoSurfacesOnField(med_reader, node_entity, 'vitesse', 1) + isosurfaces = IsoSurfacesOnField(med_reader, node_entity, 'vitesse', 2) if isosurfaces is None: print "FAILED" else: @@ -421,7 +421,7 @@ if salome.hasDesktop(): # in gui mode print "OK" print "Creating Cut Planes.......", - cutplanes = CutPlanesOnField(med_reader, node_entity, 'vitesse', 1, + cutplanes = CutPlanesOnField(med_reader, node_entity, 'vitesse', 2, nb_planes=30, orientation=Orientation.YZ) if cutplanes is None: print "FAILED" @@ -432,7 +432,7 @@ if salome.hasDesktop(): # in gui mode print "Creating Scalar Map On Deformed Shape.......", scalarmapondefshape = DeformedShapeAndScalarMapOnField(med_reader, node_entity, - 'vitesse', 1, + 'vitesse', 2, None, cell_entity, 'pression')