src/MED/Med_Gen_test.py File Reference


Namespaces

namespace  Med_Gen_test
namespace  libSALOME_Swig.*

Functions

def Med_Gen_test.print_ord
def Med_Gen_test.changeBlankToUnderScore
def Med_Gen_test.getMedObjectFromStudy
def Med_Gen_test.getMeshObjectFromStudy
def Med_Gen_test.getSupportObjectFromStudy
def Med_Gen_test.getFieldObjectFromStudy

Variables

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