Version: 6.3.1
Variables

Package test_porflow

Variables

list filePath = os.environ["MED_ROOT_DIR"]
string porflowFile = "boitenew.inp"
tuple mesh1Name = string.split(porflowFile,".")
tuple medFile = string.split(porflowFile,".")
tuple vtkFile = string.split(porflowFile,".")
 mesh2Name = mesh1Name
tuple mesh = MESH()
tuple meshDriver = PORFLOW_MESH_RDONLY_DRIVER(porflowFile,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_porflow::filePath = os.environ["MED_ROOT_DIR"]
tuple test_porflow::porflowFile = "boitenew.inp"
tuple test_porflow.mesh1Name = string.split(porflowFile,".")
tuple test_porflow.medFile = string.split(porflowFile,".")
tuple test_porflow.vtkFile = string.split(porflowFile,".")
tuple test_porflow.meshDriver = PORFLOW_MESH_RDONLY_DRIVER(porflowFile,mesh)
tuple test_porflow::meshName = mesh.getName()
tuple test_porflow::spaceDim = mesh.getSpaceDimension()
tuple test_porflow::meshDim = mesh.getMeshDimension()
tuple test_porflow::nbNodes = mesh.getNumberOfNodes()
tuple test_porflow::coordSyst = mesh.getCoordinatesSystem()
tuple test_porflow::coordinates = mesh.getCoordinates(MED_FULL_INTERLACE)
tuple test_porflow::nbTypesCell = mesh.getNumberOfTypes(MED_CELL)
tuple test_porflow::types = mesh.getTypes(MED_CELL)
tuple test_porflow::nbElemType = mesh.getNumberOfElements(MED_CELL,type)
tuple test_porflow::connectivity = mesh.getConnectivity(MED_NODAL,MED_CELL,type)
tuple test_porflow::ReverseConnectivity = mesh.getReverseConnectivity(MED_NODAL)
tuple test_porflow::ReverseConnectivityIndex = mesh.getReverseConnectivityIndex(MED_NODAL)
tuple test_porflow::nbElemts = mesh.getNumberOfElements(MED_CELL,MED_ALL_ELEMENTS)
tuple test_porflow::Connectivity = mesh.getConnectivity(MED_DESCENDING,MED_CELL,MED_ALL_ELEMENTS)
tuple test_porflow::ConnectivityIndex = mesh.getConnectivityIndex(MED_DESCENDING,MED_CELL)
tuple test_porflow::nbFam = mesh.getNumberOfFamilies(entity)
tuple test_porflow::nbGrp = mesh.getNumberOfGroups(entity)
tuple test_porflow::family = mesh.getFamily(entity,j+1)
tuple test_porflow::familyName = family.getName()
tuple test_porflow::familyDescription = family.getDescription()
tuple test_porflow::familyEntity = family.getEntity()
tuple test_porflow::familyBool = family.isOnAllElements()
tuple test_porflow::familyIdentifier = family.getIdentifier()
tuple test_porflow::nbOfAtt = family.getNumberOfAttributes()
tuple test_porflow::attributesids = family.getAttributesIdentifiers()
tuple test_porflow::attributesvals = family.getAttributesValues()
tuple test_porflow::nbOfGrp = family.getNumberOfGroups()
tuple test_porflow::nbOfTypes = family.getNumberOfTypes()
tuple test_porflow::nbOfElmtsOfType = family.getNumberOfElements(type)
tuple test_porflow::number = family.getNumber(type)
tuple test_porflow::group = mesh.getGroup(entity,j+1)
tuple test_porflow::groupName = group.getName()
tuple test_porflow::groupDescription = group.getDescription()
tuple test_porflow::groupEntity = group.getEntity()
tuple test_porflow::groupBool = group.isOnAllElements()
tuple test_porflow::nbOfFam = group.getNumberOfFamilies()
tuple test_porflow.idMed = mesh.addDriver(MED_DRIVER,medFile,mesh1Name)
tuple test_porflow.idVtk = mesh.addDriver(VTK_DRIVER,vtkFile,mesh2Name)
tuple test_porflow.mesh1Driver = MED_MESH_RDONLY_DRIVER(medFile,mesh1)
tuple test_porflow.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