-# Copyright (C) 2010-2014 CEA/DEN, EDF R&D
+# Copyright (C) 2010-2015 CEA/DEN, EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
import os
from paravistest import datadir, pictureext, get_picture_dir
from presentations import *
-import paravis
+import pvserver as paravis
import pvsimple
my_paravis = paravis.myParavis
med_file_path = datadir + "relachement_brutal_sans_dudg_gauss.med"
print 'Importing "relachement_brutal_sans_dudg_gauss.med"....',
-my_paravis.ImportFile(med_file_path)
+OpenDataFile(med_file_path)
med_reader = pvsimple.GetActiveSource()
if med_reader is None:
# 2. Creation of GaussPoints presentations
mesh_name = "Maillage"
-field_name = "Result_EQUI_ELGA_SIGM"
+field_name = "Result__EQUI_ELGA_SIGM__________"
timestamp_list = range(1, 5)
for timestamp in timestamp_list: