From 59d19ad1f4ab21ab8b85e48ff7e82b63b929194a Mon Sep 17 00:00:00 2001 From: boulant Date: Mon, 15 Apr 2013 15:46:57 +0000 Subject: [PATCH] Change VISU viewer to PARAVIS viewer for control scalar map --- src/MEDOP/tui/xmedpy/driver_pvis.py | 4 ++-- src/MEDOP/tui/xmedpy/fieldtools.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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" -- 2.39.2