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 pvis_scalarmap(properties.testFilePath, properties.testMeshName, properties.testFieldName, properties.testTypeOfField, properties.testFieldIt)
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 # __GBO__: WARN due to a specific feature of VISU, when only one # field timestamps exists in the med file, we have to specify an # iteration number of 1, whatever the iteration value is in the # med file. #iteration = properties.testFieldIt iteration = 1 visu_scalarmap(properties.testFilePath, properties.testMeshName, properties.testFieldName, properties.testTypeOfField, iteration)