Version: 6.3.1
Variables

Package test_gibi

Variables

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

Variable Documentation

tuple test_gibi::filePath = os.environ["MED_ROOT_DIR"]
tuple 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,".")
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()
tuple test_gibi::coordinates = mesh.getCoordinates(MED_FULL_INTERLACE)
list test_gibi::coords = []
tuple test_gibi::nbTypesCell = mesh.getNumberOfTypes(MED_CELL)
tuple test_gibi::types = mesh.getTypes(MED_CELL)
tuple test_gibi::nbElemType = mesh.getNumberOfElements(MED_CELL,type)
tuple test_gibi::connectivity = mesh.getConnectivity(MED_NODAL,MED_CELL,type)
tuple test_gibi::ReverseConnectivity = mesh.getReverseConnectivity(MED_NODAL)
tuple test_gibi::ReverseConnectivityIndex = mesh.getReverseConnectivityIndex(MED_NODAL)
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()
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