Back to index

salome-med  6.5.0
Namespaces | Functions | Variables
med_opfield_test.py File Reference

Go to the source code of this file.

Namespaces

namespace  med_opfield_test

Functions

def med_opfield_test.add_one
def med_opfield_test.print_ord

Variables

list med_opfield_test.filePath = os.environ["MED_ROOT_DIR"]
tuple med_opfield_test.medFile = os.path.join( filePath, "pointe.med" )
tuple med_opfield_test.md = MEDFILEBROWSER(medFile)
tuple med_opfield_test.nbMeshes = md.getNumberOfMeshes()
tuple med_opfield_test.nbFields = md.getNumberOfFields()
tuple med_opfield_test.mesh_name = md.getMeshName(i)
tuple med_opfield_test.field_name = md.getFieldName(i)
tuple med_opfield_test.mesh = MESH(MED_DRIVER,md.getFileName(),mesh_name)
tuple med_opfield_test.spaceDim = mesh.getSpaceDimension()
tuple med_opfield_test.meshDim = mesh.getMeshDimension()
tuple med_opfield_test.nbNodes = mesh.getNumberOfNodes()
tuple med_opfield_test.dtits = md.getFieldIteration(field_name)
tuple med_opfield_test.nbOfIt = len(dtits)
tuple med_opfield_test.dt = dtitfield.getdt()
tuple med_opfield_test.it = dtitfield.getit()
tuple med_opfield_test.type = md.getFieldType(field_name)
tuple med_opfield_test.fieldint = FIELDINT(MED_DRIVER,md.getFileName(),field_name,dt,it,mesh)
tuple med_opfield_test.name = fieldint.getName()
tuple med_opfield_test.desc = fieldint.getDescription()
tuple med_opfield_test.nbOfComp = fieldint.getNumberOfComponents()
tuple med_opfield_test.iterationNb = fieldint.getIterationNumber()
tuple med_opfield_test.orderNb = fieldint.getOrderNumber()
tuple med_opfield_test.time = fieldint.getTime()
tuple med_opfield_test.fieldint_vol = fieldint.getSupport()
int med_opfield_test.kp1 = 1
tuple med_opfield_test.compName = fieldint.getComponentName(kp1)
tuple med_opfield_test.compDesc = fieldint.getComponentDescription(kp1)
tuple med_opfield_test.compUnit = fieldint.getMEDComponentUnit(kp1)
tuple med_opfield_test.support = fieldint.getSupport()
tuple med_opfield_test.nbOf = support.getNumberOfElements(MED_ALL_ELEMENTS)
tuple med_opfield_test.valueI = fieldint.getRow(k+1)
tuple med_opfield_test.fieldint2 = FIELDINT(fieldint)
 med_opfield_test.fieldintadd = fieldint+fieldint2
 med_opfield_test.fieldintsub = fieldint-fieldint2
 med_opfield_test.fieldintmul = fieldint*fieldint2
 med_opfield_test.fieldintdiv = fieldint/fieldint2
tuple med_opfield_test.fielddouble = FIELDDOUBLE(MED_DRIVER,md.getFileName(),field_name,dt,it,mesh)
tuple med_opfield_test.fielddouble_vol = fielddouble.getSupport()
tuple med_opfield_test.fielddouble2 = FIELDDOUBLE(fielddouble)
 med_opfield_test.fielddoubleadd = fielddouble+fielddouble2
 med_opfield_test.fielddoublesub = fielddouble-fielddouble2
 med_opfield_test.fielddoublemul = fielddouble*fielddouble2
 med_opfield_test.fielddoublediv = fielddouble/fielddouble2
 med_opfield_test.fielddoubleasso = fielddouble+fielddouble2*fielddouble2
tuple med_opfield_test.fielddoubleSP = createFieldDoubleScalarProduct(fielddouble, fielddouble2)
 med_opfield_test.fieldintasso = fieldint+fieldint*fieldint
tuple med_opfield_test.fieldintSP = createFieldIntScalarProduct(fieldint, fieldint2)
string med_opfield_test.myname = "toto"