Package test_porflow


Variables

list filePath = os.environ["MED_ROOT_DIR"]
string filePath = "/share/salome/resources/med/"
string porflowFile = "boitenew.inp"
tuple mesh1Name = string.split(porflowFile,".")
 porflowFile = filePath+porflowFile
tuple medFile = string.split(porflowFile,".")
tuple vtkFile = string.split(porflowFile,".")
int mesh2Name = 1
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_FULL_INTERLACE,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_FULL_INTERLACE,MED_DESCENDING,MED_CELL,MED_ALL_ELEMENTS)
tuple ConnectivityIndex = mesh.getConnectivityIndex(MED_DESCENDING,MED_CELL)
list begin = ConnectivityIndex[j]
list end = ConnectivityIndex[j+1]
tuple nbFam = mesh.getNumberOfFamilies(entity)
tuple nbGrp = mesh.getNumberOfGroups(entity)
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 types = family.getTypes()
list type = types[k]
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 nbOfTypes = group.getNumberOfTypes()
tuple types = group.getTypes()
list type = types[k]
tuple nbOfElmtsOfType = group.getNumberOfElements(type)
tuple number = group.getNumber(type)
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)
int mesh_name = 1
int meshName = 1
int spaceDim = 1
int meshDim = 1
int nbNodes = 1
int coordSyst = 1
list coordNames = []
list coordUnits = []
int coordinates = 1
int kp1 = 1
list coords = []
int isdp1 = 1
int nbTypesCell = 1
int types = 1
list type = types[k]
int nbElemType = 1
int connectivity = 1
int nbNodesPerCell = 100
int ReverseConnectivity = 1
int ReverseConnectivityIndex = 1
list begin = ReverseConnectivityIndex[j]
list end = ReverseConnectivityIndex[j+1]
int nbElemts = 1
int Connectivity = 1
int ConnectivityIndex = 1
list begin = ConnectivityIndex[j]
list end = ConnectivityIndex[j+1]
int nbFam = 1
int nbGrp = 1
int nbFam = 1
int nbGrp = 1
int family = 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 types = family.getTypes()
list type = types[k]
tuple nbOfElmtsOfType = family.getNumberOfElements(type)
tuple number = family.getNumber(type)
int group = 1
tuple groupName = group.getName()
tuple groupDescription = group.getDescription()
tuple groupEntity = group.getEntity()
tuple groupBool = group.isOnAllElements()
tuple nbOfFam = group.getNumberOfFamilies()
tuple nbOfTypes = group.getNumberOfTypes()
tuple types = group.getTypes()
list type = types[k]
tuple nbOfElmtsOfType = group.getNumberOfElements(type)
tuple number = group.getNumber(type)
list filePath = os.environ["MED_ROOT_DIR"]
string filePath = "/share/salome/resources/med/"
string porflowFile = "boitenew.inp"
tuple mesh1Name = string.split(porflowFile,".")
 porflowFile = filePath+porflowFile
tuple medFile = string.split(porflowFile,".")
tuple vtkFile = string.split(porflowFile,".")
int mesh2Name = 1
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_FULL_INTERLACE,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_FULL_INTERLACE,MED_DESCENDING,MED_CELL,MED_ALL_ELEMENTS)
tuple ConnectivityIndex = mesh.getConnectivityIndex(MED_DESCENDING,MED_CELL)
list begin = ConnectivityIndex[j]
list end = ConnectivityIndex[j+1]
tuple nbFam = mesh.getNumberOfFamilies(entity)
tuple nbGrp = mesh.getNumberOfGroups(entity)
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 types = family.getTypes()
list type = types[k]
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 nbOfTypes = group.getNumberOfTypes()
tuple types = group.getTypes()
list type = types[k]
tuple nbOfElmtsOfType = group.getNumberOfElements(type)
tuple number = group.getNumber(type)
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)
int mesh_name = 1
int meshName = 1
int spaceDim = 1
int meshDim = 1
int nbNodes = 1
int coordSyst = 1
list coordNames = []
list coordUnits = []
int coordinates = 1
int kp1 = 1
list coords = []
int isdp1 = 1
int nbTypesCell = 1
int types = 1
list type = types[k]
int nbElemType = 1
int connectivity = 1
int nbNodesPerCell = 100
int ReverseConnectivity = 1
int ReverseConnectivityIndex = 1
list begin = ReverseConnectivityIndex[j]
list end = ReverseConnectivityIndex[j+1]
int nbElemts = 1
int Connectivity = 1
int ConnectivityIndex = 1
list begin = ConnectivityIndex[j]
list end = ConnectivityIndex[j+1]
int nbFam = 1
int nbGrp = 1
int nbFam = 1
int nbGrp = 1
int family = 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 types = family.getTypes()
list type = types[k]
tuple nbOfElmtsOfType = family.getNumberOfElements(type)
tuple number = family.getNumber(type)
int group = 1
tuple groupName = group.getName()
tuple groupDescription = group.getDescription()
tuple groupEntity = group.getEntity()
tuple groupBool = group.isOnAllElements()
tuple nbOfFam = group.getNumberOfFamilies()
tuple nbOfTypes = group.getNumberOfTypes()
tuple types = group.getTypes()
list type = types[k]
tuple nbOfElmtsOfType = group.getNumberOfElements(type)
tuple number = group.getNumber(type)


Variable Documentation

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

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

string test_porflow.porflowFile = "boitenew.inp" [static]
 

tuple test_porflow.mesh1Name = string.split(porflowFile,".") [static]
 

test_porflow.porflowFile = filePath+porflowFile [static]
 

tuple test_porflow.medFile = string.split(porflowFile,".") [static]
 

tuple test_porflow.vtkFile = string.split(porflowFile,".") [static]
 

int test_porflow.mesh2Name = 1 [static]
 

tuple test_porflow.mesh = MESH() [static]
 

tuple test_porflow.meshDriver = PORFLOW_MESH_RDONLY_DRIVER(porflowFile,mesh) [static]
 

tuple test_porflow.meshName = mesh.getName() [static]
 

tuple test_porflow.spaceDim = mesh.getSpaceDimension() [static]
 

tuple test_porflow.meshDim = mesh.getMeshDimension() [static]
 

tuple test_porflow.nbNodes = mesh.getNumberOfNodes() [static]
 

tuple test_porflow.coordSyst = mesh.getCoordinatesSystem() [static]
 

list test_porflow.coordNames = [] [static]
 

list test_porflow.coordUnits = [] [static]
 

tuple test_porflow.coordinates = mesh.getCoordinates(MED_FULL_INTERLACE) [static]
 

int test_porflow.kp1 = 1 [static]
 

list test_porflow.coords = [] [static]
 

int test_porflow.isdp1 = 1 [static]
 

tuple test_porflow.nbTypesCell = mesh.getNumberOfTypes(MED_CELL) [static]
 

tuple test_porflow.types = mesh.getTypes(MED_CELL) [static]
 

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

tuple test_porflow.nbElemType = mesh.getNumberOfElements(MED_CELL,type) [static]
 

tuple test_porflow.connectivity = mesh.getConnectivity(MED_FULL_INTERLACE,MED_NODAL,MED_CELL,type) [static]
 

int test_porflow.nbNodesPerCell = 100 [static]
 

tuple test_porflow.ReverseConnectivity = mesh.getReverseConnectivity(MED_NODAL) [static]
 

tuple test_porflow.ReverseConnectivityIndex = mesh.getReverseConnectivityIndex(MED_NODAL) [static]
 

list test_porflow.begin = ReverseConnectivityIndex[j] [static]
 

list test_porflow.end = ReverseConnectivityIndex[j+1] [static]
 

tuple test_porflow.nbElemts = mesh.getNumberOfElements(MED_CELL,MED_ALL_ELEMENTS) [static]
 

tuple test_porflow.Connectivity = mesh.getConnectivity(MED_FULL_INTERLACE,MED_DESCENDING,MED_CELL,MED_ALL_ELEMENTS) [static]
 

tuple test_porflow.ConnectivityIndex = mesh.getConnectivityIndex(MED_DESCENDING,MED_CELL) [static]
 

list test_porflow.begin = ConnectivityIndex[j] [static]
 

list test_porflow.end = ConnectivityIndex[j+1] [static]
 

tuple test_porflow.nbFam = mesh.getNumberOfFamilies(entity) [static]
 

tuple test_porflow.nbGrp = mesh.getNumberOfGroups(entity) [static]
 

tuple test_porflow.nbFam = mesh.getNumberOfFamilies(entity) [static]
 

tuple test_porflow.nbGrp = mesh.getNumberOfGroups(entity) [static]
 

tuple test_porflow.family = mesh.getFamily(entity,j+1) [static]
 

tuple test_porflow.familyName = family.getName() [static]
 

tuple test_porflow.familyDescription = family.getDescription() [static]
 

tuple test_porflow.familyEntity = family.getEntity() [static]
 

tuple test_porflow.familyBool = family.isOnAllElements() [static]
 

tuple test_porflow.familyIdentifier = family.getIdentifier() [static]
 

tuple test_porflow.nbOfAtt = family.getNumberOfAttributes() [static]
 

tuple test_porflow.attributesids = family.getAttributesIdentifiers() [static]
 

tuple test_porflow.attributesvals = family.getAttributesValues() [static]
 

tuple test_porflow.nbOfGrp = family.getNumberOfGroups() [static]
 

tuple test_porflow.nbOfTypes = family.getNumberOfTypes() [static]
 

tuple test_porflow.types = family.getTypes() [static]
 

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

tuple test_porflow.nbOfElmtsOfType = family.getNumberOfElements(type) [static]
 

tuple test_porflow.number = family.getNumber(type) [static]
 

tuple test_porflow.group = mesh.getGroup(entity,j+1) [static]
 

tuple test_porflow.groupName = group.getName() [static]
 

tuple test_porflow.groupDescription = group.getDescription() [static]
 

tuple test_porflow.groupEntity = group.getEntity() [static]
 

tuple test_porflow.groupBool = group.isOnAllElements() [static]
 

tuple test_porflow.nbOfFam = group.getNumberOfFamilies() [static]
 

tuple test_porflow.nbOfTypes = group.getNumberOfTypes() [static]
 

tuple test_porflow.types = group.getTypes() [static]
 

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

tuple test_porflow.nbOfElmtsOfType = group.getNumberOfElements(type) [static]
 

tuple test_porflow.number = group.getNumber(type) [static]
 

tuple test_porflow.idMed = mesh.addDriver(MED_DRIVER,medFile,mesh1Name) [static]