Package testMeshAlliances


Variables

list filePath = os.environ["MED_ROOT_DIR"]
string filePath = "/share/salome/resources/med/"
list medFiles = []
list meshNames = []
tuple nbOfFiles = len(medFiles)
tuple med = salome.lcc.FindOrLoadComponent("FactoryServer", "MED")
list medFile = 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_FULL_INTERLACE,MED_NODAL,MED_CELL,type)
int nbNodesPerCell = 100
tuple nbTypesCellWithPoly = meshLocalCopy.getNumberOfTypesWithPoly(MED_CELL)
 TEST METHODS ABOUT POLY ELEMENTS ##.
tuple types = meshLocalCopy.getTypesWithPoly(MED_CELL)
list type = types[k]
tuple nbElemType = meshLocalCopy.getNumberOfPolygons()
tuple nbElemType = meshLocalCopy.getNumberOfPolyhedron()
tuple connectivity = meshLocalCopy.getPolygonsConnectivity(MED_NODAL,MED_CELL)
tuple index = meshLocalCopy.getPolygonsConnectivityIndex(MED_NODAL,MED_CELL)
tuple connectivity = meshLocalCopy.getPolyhedronConnectivity(MED_NODAL)
tuple fIndex = meshLocalCopy.getPolyhedronFacesIndex()
tuple index = meshLocalCopy.getPolyhedronIndex(MED_NODAL)


Variable Documentation

list testMeshAlliances.filePath = os.environ["MED_ROOT_DIR"] [static]
 

string testMeshAlliances.filePath = "/share/salome/resources/med/" [static]
 

list testMeshAlliances.medFiles = [] [static]
 

list testMeshAlliances.meshNames = [] [static]
 

tuple testMeshAlliances.nbOfFiles = len(medFiles) [static]
 

tuple testMeshAlliances.med = salome.lcc.FindOrLoadComponent("FactoryServer", "MED") [static]
 

list testMeshAlliances.medFile = filePath+medFiles[i] [static]
 

list testMeshAlliances.meshName = meshNames[i] [static]
 

tuple testMeshAlliances.meshCorba = med.readMeshInFile(medFile, salome.myStudyName,meshName) [static]
 

tuple testMeshAlliances.meshLocalCopy = MESHClient(meshCorba) [static]
 

tuple testMeshAlliances.name = meshLocalCopy.getName() [static]
 

tuple testMeshAlliances.spaceDimension = meshLocalCopy.getSpaceDimension() [static]
 

tuple testMeshAlliances.meshDimension = meshLocalCopy.getMeshDimension() [static]
 

tuple testMeshAlliances.numberOfNodes = meshLocalCopy.getNumberOfNodes() [static]
 

tuple testMeshAlliances.coordSyst = meshLocalCopy.getCoordinatesSystem() [static]
 

list testMeshAlliances.coordNames = [] [static]
 

list testMeshAlliances.coordUnits = [] [static]
 

tuple testMeshAlliances.coordinates = meshLocalCopy.getCoordinates(MED_FULL_INTERLACE) [static]
 

int testMeshAlliances.kp1 = 1 [static]
 

tuple testMeshAlliances.nbTypesCell = meshLocalCopy.getNumberOfTypes(MED_CELL) [static]
 

tuple testMeshAlliances.types = meshLocalCopy.getTypes(MED_CELL) [static]
 

list testMeshAlliances.type = types[k] [static]
 

tuple testMeshAlliances.nbElemType = meshLocalCopy.getNumberOfElements(MED_CELL,type) [static]
 

tuple testMeshAlliances.connectivity = meshLocalCopy.getConnectivity(MED_FULL_INTERLACE,MED_NODAL,MED_CELL,type) [static]
 

int testMeshAlliances.nbNodesPerCell = 100 [static]
 

tuple testMeshAlliances.nbTypesCellWithPoly = meshLocalCopy.getNumberOfTypesWithPoly(MED_CELL) [static]
 

TEST METHODS ABOUT POLY ELEMENTS ##.

tuple testMeshAlliances.types = meshLocalCopy.getTypesWithPoly(MED_CELL) [static]
 

list testMeshAlliances.type = types[k] [static]
 

tuple testMeshAlliances.nbElemType = meshLocalCopy.getNumberOfPolygons() [static]
 

tuple testMeshAlliances.nbElemType = meshLocalCopy.getNumberOfPolyhedron() [static]
 

tuple testMeshAlliances.connectivity = meshLocalCopy.getPolygonsConnectivity(MED_NODAL,MED_CELL) [static]
 

tuple testMeshAlliances.index = meshLocalCopy.getPolygonsConnectivityIndex(MED_NODAL,MED_CELL) [static]
 

tuple testMeshAlliances.connectivity = meshLocalCopy.getPolyhedronConnectivity(MED_NODAL) [static]
 

tuple testMeshAlliances.fIndex = meshLocalCopy.getPolyhedronFacesIndex() [static]
 

tuple testMeshAlliances.index = meshLocalCopy.getPolyhedronIndex(MED_NODAL) [static]