Back to index

salome-med  6.5.0
Variables
testDriverAscii Namespace Reference

Variables

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

Variable Documentation

string testDriverAscii.asciiFile = "tyst.txt"

Definition at line 37 of file testDriverAscii.py.

tuple testDriverAscii.f1 = FIELDDOUBLE(MED_DRIVER,medFile,f1Name,it.dt,it.it,mesh)

Definition at line 50 of file testDriverAscii.py.

tuple testDriverAscii.f1Name = md.getFieldName(0)

Definition at line 46 of file testDriverAscii.py.

tuple testDriverAscii.filePath = os.environ["MED_ROOT_DIR"]

Definition at line 32 of file testDriverAscii.py.

tuple testDriverAscii.id2 = f1.addDriver(ASCII_DRIVER,asciiFile,"Default Field Name",MED_ECRI)

Definition at line 51 of file testDriverAscii.py.

tuple testDriverAscii.it = md.getFieldIteration(f1Name)

Definition at line 49 of file testDriverAscii.py.

Definition at line 39 of file testDriverAscii.py.

tuple testDriverAscii.medFile = os.path.join(filePath, "test_2D.med")

Definition at line 35 of file testDriverAscii.py.

Definition at line 48 of file testDriverAscii.py.

Definition at line 47 of file testDriverAscii.py.

tuple testDriverAscii.nbFields = md.getNumberOfFields()

Definition at line 43 of file testDriverAscii.py.

tuple testDriverAscii.nbMeshes = md.getNumberOfMeshes()

Definition at line 41 of file testDriverAscii.py.