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() |
| tuple testMeshAlliances::filePath = os.environ["MED_ROOT_DIR"] |
| list testMeshAlliances.medFiles = [] |
| list testMeshAlliances.meshNames = [] |
| tuple testMeshAlliances.nbOfFiles = len(medFiles) |
| tuple testMeshAlliances.med = salome.lcc.FindOrLoadComponent("FactoryServer", "MED") |
| tuple testMeshAlliances.medFile = os.path.join( 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) |
| 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_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() |