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:
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:
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:
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"
print "Creating Scalar Map On Deformed Shape.......",
scalarmapondefshape = DeformedShapeAndScalarMapOnField(med_reader,
node_entity,
- 'vitesse', 1,
+ 'vitesse', 2,
None,
cell_entity,
'pression')