From: boulant Date: Mon, 15 Apr 2013 15:46:57 +0000 (+0000) Subject: Change VISU viewer to PARAVIS viewer for control scalar map X-Git-Tag: B4Mrg1804~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=59d19ad1f4ab21ab8b85e48ff7e82b63b929194a;p=modules%2Fmed.git Change VISU viewer to PARAVIS viewer for control scalar map --- diff --git a/src/MEDOP/tui/xmedpy/driver_pvis.py b/src/MEDOP/tui/xmedpy/driver_pvis.py index ff52185c8..66cfd0fa1 100644 --- a/src/MEDOP/tui/xmedpy/driver_pvis.py +++ b/src/MEDOP/tui/xmedpy/driver_pvis.py @@ -71,8 +71,8 @@ def pvis_scalarmap(filename,meshname,fieldname,typeOfField,iteration=-1): def TEST_scalarmap(): import os from xmed import properties - properties.setup(properties.testdata_02) # test with nodes - #properties.setup(properties.testdata_03) # test with cells + #properties.setup(properties.testdata_02) # test with nodes + properties.setup(properties.testdata_03) # test with cells pvis_scalarmap(properties.testFilePath, properties.testMeshName, properties.testFieldName, diff --git a/src/MEDOP/tui/xmedpy/fieldtools.py b/src/MEDOP/tui/xmedpy/fieldtools.py index 5c6bfc8b1..80e44901c 100644 --- a/src/MEDOP/tui/xmedpy/fieldtools.py +++ b/src/MEDOP/tui/xmedpy/fieldtools.py @@ -161,7 +161,7 @@ def save(filename): # Field Data visualization VIEWER_VISU = "VISU" VIEWER_PARAVIS = "PARAVIS" -VIEWER_DEFAULT = VIEWER_VISU +VIEWER_DEFAULT = VIEWER_PARAVIS VIEWER_TMP_FILE = "/tmp/medop_viewer.med"