Package Med_Gen_test


Functions

def print_ord
def changeBlankToUnderScore
def getMedObjectFromStudy
def getMeshObjectFromStudy
def getSupportObjectFromStudy
def getFieldObjectFromStudy

Variables

tuple sg = SALOMEGUI_Swig()
string fileName = "cube_hexa8_quad4.med"
tuple medComp = salome.lcc.FindOrLoadComponent("FactoryServer", "MED")
list filePath = os.environ["MED_ROOT_DIR"]
string filePath = "/share/salome/resources/med/"
 filePathName = filePath+fileName
tuple medObj = getMedObjectFromStudy(fileName)
tuple nbOfMeshes = medObj.getNumberOfMeshes()
tuple meshNames = medObj.getMeshNames()
list meshName = meshNames[i]
tuple meshObj = medObj.getMeshByName(meshName)
tuple nbFam = meshObj.getNumberOfFamilies(entity)
tuple nbGrp = meshObj.getNumberOfGroups(entity)
tuple familyObj = meshObj.getFamily(entity,j+1)
tuple groupObj = meshObj.getGroup(entity,j+1)
tuple meshObj = getMeshObjectFromStudy(meshName)
tuple nbFam = meshObj.getNumberOfFamilies(entity)
tuple nbGrp = meshObj.getNumberOfGroups(entity)
tuple familyName = (meshObj.getFamily(entity,j+1))
tuple familyObj = getSupportObjectFromStudy(meshName,familyName)
tuple groupName = (meshObj.getGroup(entity,j+1))
tuple groupObj = getSupportObjectFromStudy(meshName,groupName)
string entitySupport = "MED_NOEUD"
string entitySupport = "MED_MAILLE"
string entitySuppor = "MED_FACE"
string entitySupport = "MED_ARETE"
string supportName = "SupportOnAll_"
tuple supportObj = getSupportObjectFromStudy(meshName,supportName)
tuple nbOfFields = medObj.getNumberOfFields()
tuple fieldNames = medObj.getFieldNames()
list fieldName = fieldNames[i]
tuple nbOfIt = medObj.getFieldNumberOfIteration(fieldName)
tuple dtitfield = medObj.getFieldIteration(fieldName,j)
list dt = dtitfield[0]
list it = dtitfield[1]
list meshName = meshNames[k]
string entitySupport = "MED_NOEUD"
string entitySupport = "MED_MAILLE"
string entitySuppor = "MED_FACE"
string entitySupport = "MED_ARETE"
string supportName = "SupportOnAll_"
tuple fieldObj = getFieldObjectFromStudy(dt,it,fieldName,supportName,meshName)
tuple sg = SALOMEGUI_Swig()
string fileName = "cube_hexa8_quad4.med"
tuple medComp = salome.lcc.FindOrLoadComponent("FactoryServer", "MED")
list filePath = os.environ["MED_ROOT_DIR"]
string filePath = "/share/salome/resources/med/"
 filePathName = filePath+fileName
tuple medObj = getMedObjectFromStudy(fileName)
tuple nbOfMeshes = medObj.getNumberOfMeshes()
tuple meshNames = medObj.getMeshNames()
list meshName = meshNames[i]
tuple meshObj = medObj.getMeshByName(meshName)
tuple nbFam = meshObj.getNumberOfFamilies(entity)
tuple nbGrp = meshObj.getNumberOfGroups(entity)
tuple familyObj = meshObj.getFamily(entity,j+1)
tuple groupObj = meshObj.getGroup(entity,j+1)
tuple meshObj = getMeshObjectFromStudy(meshName)
tuple nbFam = meshObj.getNumberOfFamilies(entity)
tuple nbGrp = meshObj.getNumberOfGroups(entity)
tuple familyName = (meshObj.getFamily(entity,j+1))
tuple familyObj = getSupportObjectFromStudy(meshName,familyName)
tuple groupName = (meshObj.getGroup(entity,j+1))
tuple groupObj = getSupportObjectFromStudy(meshName,groupName)
string entitySupport = "MED_NOEUD"
string entitySupport = "MED_MAILLE"
string entitySuppor = "MED_FACE"
string entitySupport = "MED_ARETE"
string supportName = "SupportOnAll_"
tuple supportObj = getSupportObjectFromStudy(meshName,supportName)
tuple nbOfFields = medObj.getNumberOfFields()
tuple fieldNames = medObj.getFieldNames()
list fieldName = fieldNames[i]
tuple nbOfIt = medObj.getFieldNumberOfIteration(fieldName)
tuple dtitfield = medObj.getFieldIteration(fieldName,j)
list dt = dtitfield[0]
list it = dtitfield[1]
list meshName = meshNames[k]
string entitySupport = "MED_NOEUD"
string entitySupport = "MED_MAILLE"
string entitySuppor = "MED_FACE"
string entitySupport = "MED_ARETE"
string supportName = "SupportOnAll_"
tuple fieldObj = getFieldObjectFromStudy(dt,it,fieldName,supportName,meshName)


Function Documentation

def Med_Gen_test::print_ord   i  ) 
 

def Med_Gen_test::changeBlankToUnderScore   stringWithBlank  ) 
 

def Med_Gen_test::getMedObjectFromStudy   file  ) 
 

def Med_Gen_test::getMeshObjectFromStudy   meshName  ) 
 

def Med_Gen_test::getSupportObjectFromStudy   meshName,
  supportName
 

def Med_Gen_test::getFieldObjectFromStudy   dt,
  it,
  fieldName,
  supportName,
  meshName
 


Variable Documentation

tuple Med_Gen_test.sg = SALOMEGUI_Swig() [static]
 

string Med_Gen_test.fileName = "cube_hexa8_quad4.med" [static]
 

tuple Med_Gen_test.medComp = salome.lcc.FindOrLoadComponent("FactoryServer", "MED") [static]
 

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

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

Med_Gen_test.filePathName = filePath+fileName [static]
 

tuple Med_Gen_test.medObj = getMedObjectFromStudy(fileName) [static]
 

tuple Med_Gen_test.nbOfMeshes = medObj.getNumberOfMeshes() [static]
 

tuple Med_Gen_test.meshNames = medObj.getMeshNames() [static]
 

list Med_Gen_test.meshName = meshNames[i] [static]
 

tuple Med_Gen_test.meshObj = medObj.getMeshByName(meshName) [static]
 

tuple Med_Gen_test.nbFam = meshObj.getNumberOfFamilies(entity) [static]
 

tuple Med_Gen_test.nbGrp = meshObj.getNumberOfGroups(entity) [static]
 

tuple Med_Gen_test.familyObj = meshObj.getFamily(entity,j+1) [static]
 

tuple Med_Gen_test.groupObj = meshObj.getGroup(entity,j+1) [static]
 

tuple Med_Gen_test.meshObj = getMeshObjectFromStudy(meshName) [static]
 

tuple Med_Gen_test.nbFam = meshObj.getNumberOfFamilies(entity) [static]
 

tuple Med_Gen_test.nbGrp = meshObj.getNumberOfGroups(entity) [static]
 

tuple Med_Gen_test.familyName = (meshObj.getFamily(entity,j+1)) [static]
 

tuple Med_Gen_test.familyObj = getSupportObjectFromStudy(meshName,familyName) [static]
 

tuple Med_Gen_test.groupName = (meshObj.getGroup(entity,j+1)) [static]
 

tuple Med_Gen_test.groupObj = getSupportObjectFromStudy(meshName,groupName) [static]
 

string Med_Gen_test.entitySupport = "MED_NOEUD" [static]
 

string Med_Gen_test.entitySupport = "MED_MAILLE" [static]
 

string Med_Gen_test.entitySuppor = "MED_FACE" [static]
 

string Med_Gen_test.entitySupport = "MED_ARETE" [static]
 

string Med_Gen_test.supportName = "SupportOnAll_" [static]
 

tuple Med_Gen_test.supportObj = getSupportObjectFromStudy(meshName,supportName) [static]
 

tuple Med_Gen_test.nbOfFields = medObj.getNumberOfFields() [static]
 

tuple Med_Gen_test.fieldNames = medObj.getFieldNames() [static]
 

list Med_Gen_test.fieldName = fieldNames[i] [static]
 

tuple Med_Gen_test.nbOfIt = medObj.getFieldNumberOfIteration(fieldName) [static]
 

tuple Med_Gen_test.dtitfield = medObj.getFieldIteration(fieldName,j) [static]
 

list Med_Gen_test.dt = dtitfield[0] [static]
 

list Med_Gen_test.it = dtitfield[1] [static]
 

list Med_Gen_test.meshName = meshNames[k] [static]
 

string Med_Gen_test.entitySupport = "MED_NOEUD" [static]
 

string Med_Gen_test.entitySupport = "MED_MAILLE" [static]
 

string Med_Gen_test.entitySuppor = "MED_FACE" [static]
 

string Med_Gen_test.entitySupport = "MED_ARETE" [static]
 

string Med_Gen_test.supportName = "SupportOnAll_" [static]
 

tuple Med_Gen_test.fieldObj = getFieldObjectFromStudy(dt,it,fieldName,supportName,meshName) [static]
 

tuple Med_Gen_test.sg = SALOMEGUI_Swig() [static]
 

string Med_Gen_test.fileName = "cube_hexa8_quad4.med" [static]
 

tuple Med_Gen_test.medComp = salome.lcc.FindOrLoadComponent("FactoryServer", "MED") [static]
 

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

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

Med_Gen_test.filePathName = filePath+fileName [static]
 

tuple Med_Gen_test.medObj = getMedObjectFromStudy(fileName) [static]
 

tuple Med_Gen_test.nbOfMeshes = medObj.getNumberOfMeshes() [static]
 

tuple Med_Gen_test.meshNames = medObj.getMeshNames() [static]
 

list Med_Gen_test.meshName = meshNames[i] [static]
 

tuple Med_Gen_test.meshObj = medObj.getMeshByName(meshName) [static]
 

tuple Med_Gen_test.nbFam = meshObj.getNumberOfFamilies(entity) [static]
 

tuple Med_Gen_test.nbGrp = meshObj.getNumberOfGroups(entity) [static]
 

tuple Med_Gen_test.familyObj = meshObj.getFamily(entity,j+1) [static]
 

tuple Med_Gen_test.groupObj = meshObj.getGroup(entity,j+1) [static]
 

tuple Med_Gen_test.meshObj = getMeshObjectFromStudy(meshName) [static]
 

tuple Med_Gen_test.nbFam = meshObj.getNumberOfFamilies(entity) [static]
 

tuple Med_Gen_test.nbGrp = meshObj.getNumberOfGroups(entity) [static]
 

tuple Med_Gen_test.familyName = (meshObj.getFamily(entity,j+1)) [static]
 

tuple Med_Gen_test.familyObj = getSupportObjectFromStudy(meshName,familyName) [static]
 

tuple Med_Gen_test.groupName = (meshObj.getGroup(entity,j+1)) [static]
 

tuple Med_Gen_test.groupObj = getSupportObjectFromStudy(meshName,groupName) [static]
 

string Med_Gen_test.entitySupport = "MED_NOEUD" [static]
 

string Med_Gen_test.entitySupport = "MED_MAILLE" [static]
 

string Med_Gen_test.entitySuppor = "MED_FACE" [static]
 

string Med_Gen_test.entitySupport = "MED_ARETE" [static]
 

string Med_Gen_test.supportName = "SupportOnAll_" [static]
 

tuple Med_Gen_test.supportObj = getSupportObjectFromStudy(meshName,supportName) [static]
 

tuple Med_Gen_test.nbOfFields = medObj.getNumberOfFields() [static]
 

tuple Med_Gen_test.fieldNames = medObj.getFieldNames() [static]
 

list Med_Gen_test.fieldName = fieldNames[i] [static]
 

tuple Med_Gen_test.nbOfIt = medObj.getFieldNumberOfIteration(fieldName) [static]
 

tuple Med_Gen_test.dtitfield = medObj.getFieldIteration(fieldName,j) [static]
 

list Med_Gen_test.dt = dtitfield[0] [static]
 

list Med_Gen_test.it = dtitfield[1] [static]
 

list Med_Gen_test.meshName = meshNames[k] [static]
 

string Med_Gen_test.entitySupport = "MED_NOEUD" [static]
 

string Med_Gen_test.entitySupport = "MED_MAILLE" [static]
 

string Med_Gen_test.entitySuppor = "MED_FACE" [static]
 

string Med_Gen_test.entitySupport = "MED_ARETE" [static]
 

string Med_Gen_test.supportName = "SupportOnAll_" [static]
 

tuple Med_Gen_test.fieldObj = getFieldObjectFromStudy(dt,it,fieldName,supportName,meshName) [static]