Back to index

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

Go to the source code of this file.

Namespaces

namespace  test_porflow

Variables

list test_porflow.filePath = os.environ["MED_ROOT_DIR"]
string 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,".")
 test_porflow.mesh2Name = mesh1Name
tuple test_porflow.mesh = MESH()
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()
list test_porflow.coordNames = []
list test_porflow.coordUnits = []
tuple test_porflow.coordinates = mesh.getCoordinates(MED_FULL_INTERLACE)
int test_porflow.kp1 = 1
list test_porflow.coords = []
int test_porflow.isdp1 = 1
tuple test_porflow.nbTypesCell = mesh.getNumberOfTypes(MED_CELL)
tuple test_porflow.types = mesh.getTypes(MED_CELL)
list test_porflow.type = types[k]
tuple test_porflow.nbElemType = mesh.getNumberOfElements(MED_CELL,type)
tuple test_porflow.connectivity = mesh.getConnectivity(MED_NODAL,MED_CELL,type)
int test_porflow.nbNodesPerCell = 100
tuple test_porflow.ReverseConnectivity = mesh.getReverseConnectivity(MED_NODAL)
tuple test_porflow.ReverseConnectivityIndex = mesh.getReverseConnectivityIndex(MED_NODAL)
list test_porflow.begin = ReverseConnectivityIndex[j]
list test_porflow.end = ReverseConnectivityIndex[j+1]
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.mesh1 = MESH()
tuple test_porflow.mesh1Driver = MED_MESH_RDONLY_DRIVER(medFile,mesh1)
tuple test_porflow.mesh_name = mesh1Driver.getMeshName()