Back to index

salome-med  6.5.0
Functions | Variables
med_test3 Namespace Reference

Functions

def print_ord

Variables

list filePath = os.environ["MED_ROOT_DIR"]
tuple medFile = os.path.join(filePath, "carre_en_quad4_seg2.med")
tuple md = MEDFILEBROWSER(medFile)
tuple nbMeshes = md.getNumberOfMeshes()
tuple nbFields = md.getNumberOfFields()
tuple mesh_name = md.getMeshName(i)
tuple field_name = md.getFieldName(i)
tuple mesh = MESH(MED_DRIVER,md.getFileName(),mesh_name)
tuple spaceDim = mesh.getSpaceDimension()
tuple nbFam = mesh.getNumberOfFamilies(entity)
tuple family = mesh.getFamily(entity,j+1)
tuple familyName = family.getName()
tuple familyDescription = family.getDescription()
tuple familyEntity = family.getEntity()
tuple familyBool = family.isOnAllElements()
tuple familyIdentifier = family.getIdentifier()
tuple nbOfAtt = family.getNumberOfAttributes()
tuple attributesids = family.getAttributesIdentifiers()
tuple attributesvals = family.getAttributesValues()
tuple nbOfGrp = family.getNumberOfGroups()
tuple nbOfTypes = family.getNumberOfTypes()
tuple types = family.getTypes()
list type = types[k]
tuple nbOfElmtsOfType = family.getNumberOfElements(type)
tuple number = family.getNumber(type)
tuple numberFamily = family.getNumber(MED_ALL_ELEMENTS)
tuple fieldFamilyIntg = FIELDINT(family,spaceDim)
string fieldCompName = "comp1"
string fieldCompDesc = "desc1"
string fieldCompUnit = "unit1"
int kcomp1 = 1
string fieldFamilyName = "Integer Field on "
tuple type_field = fieldFamilyIntg.getValueType()
tuple nbOfComp = fieldFamilyIntg.getNumberOfComponents()
tuple compName = fieldFamilyIntg.getComponentName(kcomp1)
tuple compDesc = fieldFamilyIntg.getComponentDescription(kcomp1)
tuple compUnit = fieldFamilyIntg.getMEDComponentUnit(kcomp1)
tuple nbOf = fieldFamilyIntg.getSupport()
list value = []
 mode = MED_FULL_INTERLACE
tuple valueverif = fieldFamilyIntg.getValue()
 mode_full = MED_FULL_INTERLACE
 mode_no = MED_NO_INTERLACE
list valInd = numberFamily[k]
tuple fieldFamilyIntgOtherMode = createFieldIntConvertNoInterlace(fieldFamilyIntg)

Function Documentation

def med_test3.print_ord (   i)

Definition at line 41 of file med_test3.py.

00041 
00042 def print_ord(i):
00043     if i == 0:
00044         return 'first'
00045     elif i == 1:
00046         return 'second'
00047     elif i == 2:
00048         return 'third'
00049     else:
00050         return `i`+'th'


Variable Documentation

tuple med_test3.attributesids = family.getAttributesIdentifiers()

Definition at line 107 of file med_test3.py.

tuple med_test3.attributesvals = family.getAttributesValues()

Definition at line 108 of file med_test3.py.

tuple med_test3.compDesc = fieldFamilyIntg.getComponentDescription(kcomp1)

Definition at line 163 of file med_test3.py.

tuple med_test3.compName = fieldFamilyIntg.getComponentName(kcomp1)

Definition at line 162 of file med_test3.py.

tuple med_test3.compUnit = fieldFamilyIntg.getMEDComponentUnit(kcomp1)

Definition at line 164 of file med_test3.py.

tuple med_test3.family = mesh.getFamily(entity,j+1)

Definition at line 95 of file med_test3.py.

tuple med_test3.familyBool = family.isOnAllElements()

Definition at line 99 of file med_test3.py.

tuple med_test3.familyDescription = family.getDescription()

Definition at line 97 of file med_test3.py.

tuple med_test3.familyEntity = family.getEntity()

Definition at line 98 of file med_test3.py.

tuple med_test3.familyIdentifier = family.getIdentifier()

Definition at line 103 of file med_test3.py.

tuple med_test3.familyName = family.getName()

Definition at line 96 of file med_test3.py.

tuple med_test3.field_name = md.getFieldName(i)

Definition at line 70 of file med_test3.py.

string med_test3.fieldCompDesc = "desc1"

Definition at line 138 of file med_test3.py.

string med_test3.fieldCompName = "comp1"

Definition at line 137 of file med_test3.py.

string med_test3.fieldCompUnit = "unit1"

Definition at line 139 of file med_test3.py.

Definition at line 131 of file med_test3.py.

tuple med_test3.fieldFamilyIntgOtherMode = createFieldIntConvertNoInterlace(fieldFamilyIntg)

Definition at line 240 of file med_test3.py.

string med_test3.fieldFamilyName = "Integer Field on "

Definition at line 153 of file med_test3.py.

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

Definition at line 35 of file med_test3.py.

Definition at line 149 of file med_test3.py.

Definition at line 51 of file med_test3.py.

tuple med_test3.medFile = os.path.join(filePath, "carre_en_quad4_seg2.med")

Definition at line 38 of file med_test3.py.

tuple med_test3.mesh = MESH(MED_DRIVER,md.getFileName(),mesh_name)

Definition at line 79 of file med_test3.py.

Definition at line 63 of file med_test3.py.

med_test3.mode = MED_FULL_INTERLACE

Definition at line 177 of file med_test3.py.

med_test3.mode_full = MED_FULL_INTERLACE

Definition at line 198 of file med_test3.py.

med_test3.mode_no = MED_NO_INTERLACE

Definition at line 199 of file med_test3.py.

tuple med_test3.nbFam = mesh.getNumberOfFamilies(entity)

Definition at line 82 of file med_test3.py.

tuple med_test3.nbFields = md.getNumberOfFields()

Definition at line 55 of file med_test3.py.

tuple med_test3.nbMeshes = md.getNumberOfMeshes()

Definition at line 53 of file med_test3.py.

tuple med_test3.nbOf = fieldFamilyIntg.getSupport()

Definition at line 170 of file med_test3.py.

tuple med_test3.nbOfAtt = family.getNumberOfAttributes()

Definition at line 104 of file med_test3.py.

tuple med_test3.nbOfComp = fieldFamilyIntg.getNumberOfComponents()

Definition at line 157 of file med_test3.py.

tuple med_test3.nbOfElmtsOfType = family.getNumberOfElements(type)

Definition at line 124 of file med_test3.py.

tuple med_test3.nbOfGrp = family.getNumberOfGroups()

Definition at line 111 of file med_test3.py.

tuple med_test3.nbOfTypes = family.getNumberOfTypes()

Definition at line 119 of file med_test3.py.

tuple med_test3.number = family.getNumber(type)

Definition at line 125 of file med_test3.py.

tuple med_test3.numberFamily = family.getNumber(MED_ALL_ELEMENTS)

Definition at line 129 of file med_test3.py.

tuple med_test3.spaceDim = mesh.getSpaceDimension()

Definition at line 80 of file med_test3.py.

list med_test3.type = types[k]

Definition at line 123 of file med_test3.py.

tuple med_test3.type_field = fieldFamilyIntg.getValueType()

Definition at line 156 of file med_test3.py.

tuple med_test3.types = family.getTypes()

Definition at line 120 of file med_test3.py.

Definition at line 222 of file med_test3.py.

list med_test3.value = []

Definition at line 173 of file med_test3.py.

list med_test3.valueverif = fieldFamilyIntg.getValue()

Definition at line 179 of file med_test3.py.