Back to index

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

Go to the source code of this file.

Namespaces

namespace  med_test1

Functions

def med_test1.print_ord

Variables

list med_test1.filePath = os.environ["MED_ROOT_DIR"]
tuple med_test1.medFile = os.path.join(filePath, "carre_en_quad4_seg2.med")
tuple med_test1.md = MEDFILEBROWSER(medFile)
tuple med_test1.nbMeshes = md.getNumberOfMeshes()
tuple med_test1.nbFields = md.getNumberOfFields()
tuple med_test1.mesh_name = md.getMeshName(i)
tuple med_test1.field_name = md.getFieldName(i)
tuple med_test1.mesh = MESH(MED_DRIVER,md.getFileName(),mesh_name)
tuple med_test1.spaceDim = mesh.getSpaceDimension()
tuple med_test1.meshDim = mesh.getMeshDimension()
tuple med_test1.nbNodes = mesh.getNumberOfNodes()
tuple med_test1.coordSyst = mesh.getCoordinatesSystem()
list med_test1.coordNames = []
list med_test1.coordUnits = []
tuple med_test1.coordinates = mesh.getCoordinates(MED_FULL_INTERLACE)
int med_test1.kp1 = 1
list med_test1.coords = []
int med_test1.isdp1 = 1
tuple med_test1.nbTypesCell = mesh.getNumberOfTypes(MED_CELL)
tuple med_test1.types = mesh.getTypes(MED_CELL)
list med_test1.type = types[k]
tuple med_test1.nbElemType = mesh.getNumberOfElements(MED_CELL,type)
tuple med_test1.connectivity = mesh.getConnectivity(MED_NODAL,MED_CELL,type)
int med_test1.nbNodesPerCell = 100
tuple med_test1.nbTypesConst = mesh.getNumberOfTypes(constituent)
tuple med_test1.ReverseConnectivity = mesh.getReverseConnectivity(MED_NODAL)
tuple med_test1.ReverseConnectivityIndex = mesh.getReverseConnectivityIndex(MED_NODAL)
list med_test1.begin = ReverseConnectivityIndex[j]
list med_test1.end = ReverseConnectivityIndex[j+1]
tuple med_test1.nbElemts = mesh.getNumberOfElements(MED_CELL,MED_ALL_ELEMENTS)
tuple med_test1.Connectivity = mesh.getConnectivity(MED_DESCENDING,MED_CELL,MED_ALL_ELEMENTS)
tuple med_test1.ConnectivityIndex = mesh.getConnectivityIndex(MED_DESCENDING,MED_CELL)
tuple med_test1.nbFam = mesh.getNumberOfFamilies(entity)
tuple med_test1.family = mesh.getFamily(entity,j+1)
tuple med_test1.familyName = family.getName()
tuple med_test1.familyDescription = family.getDescription()
tuple med_test1.familyEntity = family.getEntity()
tuple med_test1.familyBool = family.isOnAllElements()
tuple med_test1.familyIdentifier = family.getIdentifier()
tuple med_test1.nbOfAtt = family.getNumberOfAttributes()
tuple med_test1.attributesids = family.getAttributesIdentifiers()
tuple med_test1.attributesvals = family.getAttributesValues()
tuple med_test1.nbOfGrp = family.getNumberOfGroups()
tuple med_test1.nbOfTypes = family.getNumberOfTypes()
tuple med_test1.nbOfElmtsOfType = family.getNumberOfElements(type)
tuple med_test1.number = family.getNumber(type)
tuple med_test1.numberFamily = family.getNumber(MED_ALL_ELEMENTS)
tuple med_test1.fieldFamilyIntg = FIELDINT(family,spaceDim)
int med_test1.kcomp1 = 1
string med_test1.fieldCompName = "comp1"
string med_test1.fieldCompDesc = "desc1"
string med_test1.fieldCompUnit = "unit1"
string med_test1.fieldFamilyName = "Integer Field on "
tuple med_test1.type_field = fieldFamilyIntg.getValueType()
tuple med_test1.nbOfComp = fieldFamilyIntg.getNumberOfComponents()
tuple med_test1.compName = fieldFamilyIntg.getComponentName(kcomp1)
tuple med_test1.compDesc = fieldFamilyIntg.getComponentDescription(kcomp1)
tuple med_test1.compUnit = fieldFamilyIntg.getMEDComponentUnit(kcomp1)
tuple med_test1.nbOf = fieldFamilyIntg.getSupport()
list med_test1.valueI = []
list med_test1.valInd = numberFamily[k]
tuple med_test1.valueIverif = fieldFamilyIntg.getRow(valInd)
tuple med_test1.fieldFamilyDble = FIELDDOUBLE(family,spaceDim)
tuple med_test1.nbGrp = mesh.getNumberOfGroups(entity)
tuple med_test1.group = mesh.getGroup(entity,j+1)
tuple med_test1.groupName = group.getName()
tuple med_test1.groupDescription = group.getDescription()
tuple med_test1.groupEntity = group.getEntity()
tuple med_test1.groupBool = group.isOnAllElements()
tuple med_test1.nbOfFam = group.getNumberOfFamilies()
tuple med_test1.supportCell = mesh.getSupportOnAll( MED_CELL )
tuple med_test1.barycenter = mesh.getBarycenter(supportCell)
tuple med_test1.barycenterCell = barycenter.getRow(j+1)
tuple med_test1.volume = mesh.getVolume(supportCell)
int med_test1.voltot = 0
tuple med_test1.volumeCell = volume.getValueIJ(j+1,1)
tuple med_test1.supportFace = SUPPORT(mesh,"Support on all faces of the mesh",MED_FACE)
tuple med_test1.nbFace = mesh.getNumberOfElements(MED_FACE,MED_ALL_ELEMENTS)
tuple med_test1.nbTypeFace = mesh.getNumberOfTypes(MED_FACE)
tuple med_test1.TypeFace = mesh.getTypes(MED_FACE)
tuple med_test1.normal = mesh.getNormal(supportFace)
tuple med_test1.area = mesh.getArea(supportFace)
tuple med_test1.normalFace = normal.getRow(j+1)
tuple med_test1.areaFace = area.getRow(j+1)
list med_test1.value1 = normalFace[0]
list med_test1.value2 = normalFace[1]
list med_test1.value3 = normalFace[2]
tuple med_test1.norm = (value1*value1 + value2*value2 + value3*value3)
int med_test1.areatot = 0
tuple med_test1.areaCell = area.getValueIJ(j+1,1)
tuple med_test1.supportEdge = mesh.getSupportOnAll(MED_EDGE)
tuple med_test1.nbEdge = mesh.getNumberOfElements(MED_EDGE,MED_ALL_ELEMENTS)
tuple med_test1.nbTypeEdge = mesh.getNumberOfTypes(MED_EDGE)
tuple med_test1.TypeEdge = mesh.getTypes(MED_EDGE)
tuple med_test1.length = mesh.getLength(supportEdge)
tuple med_test1.normalEdge = normal.getRow(j+1)
tuple med_test1.lengthEdge = length.getRow(j+1)
tuple med_test1.suppBound = mesh.getBoundaryElements(MED_FACE)
tuple med_test1.nbElmBound = suppBound.getNumberOfElements(MED_ALL_ELEMENTS)
tuple med_test1.normalBound = mesh.getNormal(suppBound)
tuple med_test1.numberSuppBound = range(1,nbElmBound+1)
tuple med_test1.normalBoundJ = normalBound.getRow(valInd)
tuple med_test1.dtits = md.getFieldIteration(field_name)
tuple med_test1.nbOfIt = len(dtits)
tuple med_test1.dt = dtitfield.getdt()
tuple med_test1.it = dtitfield.getit()
tuple med_test1.fieldint = FIELDINT(MED_DRIVER,md.getFileName(),field_name,dt,it,mesh)
tuple med_test1.name = fieldint.getName()
tuple med_test1.desc = fieldint.getDescription()
tuple med_test1.iterationNb = fieldint.getIterationNumber()
tuple med_test1.orderNb = fieldint.getOrderNumber()
tuple med_test1.time = fieldint.getTime()
tuple med_test1.support = fieldint.getSupport()
tuple med_test1.fielddouble = FIELDDOUBLE(MED_DRIVER,md.getFileName(),field_name,dt,it,mesh)