src/MedClient/src/testMeshAlliances.py File Reference


Namespaces

namespace  testMeshAlliances

Variables

list testMeshAlliances.filePath = os.environ["MED_ROOT_DIR"]
string testMeshAlliances.filePath = "/share/salome/resources/med/"
list testMeshAlliances.medFiles = []
list testMeshAlliances.meshNames = []
tuple testMeshAlliances.nbOfFiles = len(medFiles)
tuple testMeshAlliances.med = salome.lcc.FindOrLoadComponent("FactoryServer", "MED")
list testMeshAlliances.medFile = filePath+medFiles[i]
list testMeshAlliances.meshName = meshNames[i]
tuple testMeshAlliances.meshCorba = med.readMeshInFile(medFile, salome.myStudyName,meshName)
tuple testMeshAlliances.meshLocalCopy = MESHClient(meshCorba)
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()
list testMeshAlliances.coordNames = []
list testMeshAlliances.coordUnits = []
tuple testMeshAlliances.coordinates = meshLocalCopy.getCoordinates(MED_FULL_INTERLACE)
int testMeshAlliances.kp1 = 1
tuple testMeshAlliances.nbTypesCell = meshLocalCopy.getNumberOfTypes(MED_CELL)
tuple testMeshAlliances.types = meshLocalCopy.getTypes(MED_CELL)
list testMeshAlliances.type = types[k]
tuple testMeshAlliances.nbElemType = meshLocalCopy.getNumberOfElements(MED_CELL,type)
tuple testMeshAlliances.connectivity = meshLocalCopy.getConnectivity(MED_FULL_INTERLACE,MED_NODAL,MED_CELL,type)
int testMeshAlliances.nbNodesPerCell = 100
tuple testMeshAlliances.nbTypesCellWithPoly = meshLocalCopy.getNumberOfTypesWithPoly(MED_CELL)
 TEST METHODS ABOUT POLY ELEMENTS ##.
tuple testMeshAlliances.types = meshLocalCopy.getTypesWithPoly(MED_CELL)
list testMeshAlliances.type = types[k]
tuple testMeshAlliances.nbElemType = meshLocalCopy.getNumberOfPolygons()
tuple testMeshAlliances.nbElemType = meshLocalCopy.getNumberOfPolyhedron()
tuple testMeshAlliances.connectivity = meshLocalCopy.getPolygonsConnectivity(MED_NODAL,MED_CELL)
tuple testMeshAlliances.index = meshLocalCopy.getPolygonsConnectivityIndex(MED_NODAL,MED_CELL)
tuple testMeshAlliances.connectivity = meshLocalCopy.getPolyhedronConnectivity(MED_NODAL)
tuple testMeshAlliances.fIndex = meshLocalCopy.getPolyhedronFacesIndex()
tuple testMeshAlliances.index = meshLocalCopy.getPolyhedronIndex(MED_NODAL)