Back to index

salome-med  6.5.0
Namespaces | Variables
test_gibi.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_gibi

Variables

list test_gibi.filePath = os.environ["MED_ROOT_DIR"]
string test_gibi.gibiFile = "elle_2D_QT_2x2.sauve"
tuple test_gibi.mesh1Name = string.split(gibiFile,".")
tuple test_gibi.medFile = string.split(gibiFile,".")
tuple test_gibi.vtkFile = string.split(gibiFile,".")
 test_gibi.mesh2Name = mesh1Name
tuple test_gibi.mesh = MESH()
tuple test_gibi.meshDriver = GIBI_MESH_RDONLY_DRIVER(gibiFile,mesh)
tuple test_gibi.meshName = mesh.getName()
tuple test_gibi.spaceDim = mesh.getSpaceDimension()
tuple test_gibi.meshDim = mesh.getMeshDimension()
tuple test_gibi.nbNodes = mesh.getNumberOfNodes()
tuple test_gibi.coordSyst = mesh.getCoordinatesSystem()
list test_gibi.coordNames = []
list test_gibi.coordUnits = []
tuple test_gibi.coordinates = mesh.getCoordinates(MED_FULL_INTERLACE)
int test_gibi.kp1 = 1
list test_gibi.coords = []
int test_gibi.isdp1 = 1
tuple test_gibi.nbTypesCell = mesh.getNumberOfTypes(MED_CELL)
tuple test_gibi.types = mesh.getTypes(MED_CELL)
list test_gibi.type = types[k]
tuple test_gibi.nbElemType = mesh.getNumberOfElements(MED_CELL,type)
tuple test_gibi.connectivity = mesh.getConnectivity(MED_NODAL,MED_CELL,type)
int test_gibi.nbNodesPerCell = 100
tuple test_gibi.ReverseConnectivity = mesh.getReverseConnectivity(MED_NODAL)
tuple test_gibi.ReverseConnectivityIndex = mesh.getReverseConnectivityIndex(MED_NODAL)
list test_gibi.begin = ReverseConnectivityIndex[j]
list test_gibi.end = ReverseConnectivityIndex[j+1]
tuple test_gibi.nbElemts = mesh.getNumberOfElements(MED_CELL,MED_ALL_ELEMENTS)
tuple test_gibi.Connectivity = mesh.getConnectivity(MED_DESCENDING,MED_CELL,MED_ALL_ELEMENTS)
tuple test_gibi.ConnectivityIndex = mesh.getConnectivityIndex(MED_DESCENDING,MED_CELL)
tuple test_gibi.nbFam = mesh.getNumberOfFamilies(entity)
tuple test_gibi.nbGrp = mesh.getNumberOfGroups(entity)
tuple test_gibi.family = mesh.getFamily(entity,j+1)
tuple test_gibi.familyName = family.getName()
tuple test_gibi.familyDescription = family.getDescription()
tuple test_gibi.familyEntity = family.getEntity()
tuple test_gibi.familyBool = family.isOnAllElements()
tuple test_gibi.familyIdentifier = family.getIdentifier()
tuple test_gibi.nbOfAtt = family.getNumberOfAttributes()
tuple test_gibi.attributesids = family.getAttributesIdentifiers()
tuple test_gibi.attributesvals = family.getAttributesValues()
tuple test_gibi.nbOfGrp = family.getNumberOfGroups()
tuple test_gibi.nbOfTypes = family.getNumberOfTypes()
tuple test_gibi.nbOfElmtsOfType = family.getNumberOfElements(type)
tuple test_gibi.number = family.getNumber(type)
tuple test_gibi.group = mesh.getGroup(entity,j+1)
tuple test_gibi.groupName = group.getName()
tuple test_gibi.groupDescription = group.getDescription()
tuple test_gibi.groupEntity = group.getEntity()
tuple test_gibi.groupBool = group.isOnAllElements()
tuple test_gibi.nbOfFam = group.getNumberOfFamilies()
tuple test_gibi.idMed = mesh.addDriver(MED_DRIVER,medFile,mesh1Name)
tuple test_gibi.idVtk = mesh.addDriver(VTK_DRIVER,vtkFile,mesh2Name)
tuple test_gibi.mesh1 = MESH()
tuple test_gibi.mesh1Driver = MED_MESH_RDONLY_DRIVER(medFile,mesh1)
tuple test_gibi.mesh_name = mesh1Driver.getMeshName()