Version: 6.3.1
Variables

Package testMeshAlliances

Variables

list filePath = os.environ["MED_ROOT_DIR"]
list medFiles = []
list meshNames = []
tuple nbOfFiles = len(medFiles)
tuple med = salome.lcc.FindOrLoadComponent("FactoryServer", "MED")
tuple medFile = os.path.join( filePath, medFiles[i] )
list meshName = meshNames[i]
tuple meshCorba = med.readMeshInFile(medFile, salome.myStudyName,meshName)
tuple meshLocalCopy = MESHClient(meshCorba)
tuple name = meshLocalCopy.getName()
tuple spaceDimension = meshLocalCopy.getSpaceDimension()
tuple meshDimension = meshLocalCopy.getMeshDimension()
tuple numberOfNodes = meshLocalCopy.getNumberOfNodes()
tuple coordSyst = meshLocalCopy.getCoordinatesSystem()
list coordNames = []
list coordUnits = []
tuple coordinates = meshLocalCopy.getCoordinates(MED_FULL_INTERLACE)
int kp1 = 1
tuple nbTypesCell = meshLocalCopy.getNumberOfTypes(MED_CELL)
tuple types = meshLocalCopy.getTypes(MED_CELL)
list type = types[k]
tuple nbElemType = meshLocalCopy.getNumberOfElements(MED_CELL,type)
tuple connectivity = meshLocalCopy.getConnectivity(MED_NODAL,MED_CELL,type)
int nbNodesPerCell = 100
tuple nbTypesCellWithPoly = meshLocalCopy.getNumberOfTypesWithPoly(MED_CELL)
 TEST METHODS ABOUT POLY ELEMENTS ##.
tuple index = meshLocalCopy.getPolygonsConnectivityIndex(MED_NODAL,MED_CELL)
tuple fIndex = meshLocalCopy.getPolyhedronFacesIndex()

Variable Documentation

tuple testMeshAlliances::filePath = os.environ["MED_ROOT_DIR"]
tuple testMeshAlliances.med = salome.lcc.FindOrLoadComponent("FactoryServer", "MED")
tuple testMeshAlliances.medFile = os.path.join( filePath, medFiles[i] )
tuple testMeshAlliances.meshCorba = med.readMeshInFile(medFile, salome.myStudyName,meshName)
tuple testMeshAlliances.name = meshLocalCopy.getName()
tuple testMeshAlliances.spaceDimension = meshLocalCopy.getSpaceDimension()
tuple testMeshAlliances.meshDimension = meshLocalCopy.getMeshDimension()
tuple testMeshAlliances.numberOfNodes = meshLocalCopy.getNumberOfNodes()
tuple testMeshAlliances.coordSyst = meshLocalCopy.getCoordinatesSystem()
tuple testMeshAlliances.coordinates = meshLocalCopy.getCoordinates(MED_FULL_INTERLACE)
tuple testMeshAlliances.nbTypesCell = meshLocalCopy.getNumberOfTypes(MED_CELL)
tuple testMeshAlliances::types = meshLocalCopy.getTypes(MED_CELL)
tuple testMeshAlliances::nbElemType = meshLocalCopy.getNumberOfElements(MED_CELL,type)
tuple testMeshAlliances::connectivity = meshLocalCopy.getConnectivity(MED_NODAL,MED_CELL,type)
tuple testMeshAlliances.nbTypesCellWithPoly = meshLocalCopy.getNumberOfTypesWithPoly(MED_CELL)

TEST METHODS ABOUT POLY ELEMENTS ##.

tuple testMeshAlliances::index = meshLocalCopy.getPolygonsConnectivityIndex(MED_NODAL,MED_CELL)
tuple testMeshAlliances.fIndex = meshLocalCopy.getPolyhedronFacesIndex()
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