Back to index

salome-med  6.5.0
Namespaces | Variables
testDriverAscii.py File Reference

Go to the source code of this file.

Namespaces

namespace  testDriverAscii

Variables

list testDriverAscii.filePath = os.environ["MED_ROOT_DIR"]
tuple testDriverAscii.medFile = os.path.join(filePath, "test_2D.med")
string testDriverAscii.asciiFile = "tyst.txt"
tuple testDriverAscii.md = MEDFILEBROWSER(medFile)
tuple testDriverAscii.nbMeshes = md.getNumberOfMeshes()
tuple testDriverAscii.nbFields = md.getNumberOfFields()
tuple testDriverAscii.f1Name = md.getFieldName(0)
tuple testDriverAscii.mesh_name = md.getMeshName(f1Name)
tuple testDriverAscii.mesh = MESH(MED_DRIVER,medFile,mesh_name)
tuple testDriverAscii.it = md.getFieldIteration(f1Name)
tuple testDriverAscii.f1 = FIELDDOUBLE(MED_DRIVER,medFile,f1Name,it.dt,it.it,mesh)
tuple testDriverAscii.id2 = f1.addDriver(ASCII_DRIVER,asciiFile,"Default Field Name",MED_ECRI)