Version: 6.3.1
Packages | Variables

src/MEDMEM_SWIG/testDriverAscii.py File Reference

Packages

package  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)
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS