Back to index

salome-med  6.5.0
Namespaces | Functions | Variables
medcorba_test.py File Reference

Go to the source code of this file.

Namespaces

namespace  medcorba_test

Functions

def medcorba_test.AnalyzeField
def medcorba_test.getMeshObjectFromStudy
def medcorba_test.getMedObjectFromStudy

Variables

tuple medcorba_test.sg = SALOMEGUI_Swig()
list medcorba_test.filePath = os.environ["MED_ROOT_DIR"]
 medcorba_test.studyCurrent = salome.myStudyName
 medcorba_test.studyCurrentId = salome.myStudyId
string medcorba_test.fileName = "cube_hexa8_quad4.med"
tuple medcorba_test.medFile = os.path.join( filePath, fileName )
tuple medcorba_test.med_comp = salome.lcc.FindOrLoadComponent("FactoryServer", "MED")
string medcorba_test.msg = "SALOME.SALOME_Exception caght, see details:"
tuple medcorba_test.med_obj = getMedObjectFromStudy(fileName)
tuple medcorba_test.nbMeshes = med_obj.getNumberOfMeshes()
tuple medcorba_test.nbFields = med_obj.getNumberOfFields()
tuple medcorba_test.meshNames = med_obj.getMeshNames()
list medcorba_test.meshName = meshNames[0]
tuple medcorba_test.meshcorba = getMeshObjectFromStudy(meshName)
tuple medcorba_test.nbNodes = meshcorba.getNumberOfNodes()
tuple medcorba_test.spaceDim = meshcorba.getSpaceDimension()
tuple medcorba_test.nbFam = meshcorba.getNumberOfFamilies(entity)
tuple medcorba_test.familycorba = meshcorba.getFamily(entity,j+1)
tuple medcorba_test.familyName = familycorba.getName()
tuple medcorba_test.familyDescription = familycorba.getDescription()
tuple medcorba_test.familyEntity = familycorba.getEntity()
tuple medcorba_test.familyBool = familycorba.isOnAllElements()
tuple medcorba_test.familyIdentifier = familycorba.getIdentifier()
tuple medcorba_test.nbOfAtt = familycorba.getNumberOfAttributes()
tuple medcorba_test.attributesids = familycorba.getAttributesIdentifiers()
tuple medcorba_test.attributesvals = familycorba.getAttributesValues()
tuple medcorba_test.types = familycorba.getTypes()
tuple medcorba_test.nbOfTypes = len(types)
list medcorba_test.type = types[k]
tuple medcorba_test.nbOfElmtsOfType = familycorba.getNumberOfElements(type)
tuple medcorba_test.number = familycorba.getNumber(type)
tuple medcorba_test.lengthValue = familycorba.getNumberOfElements(SALOME_MED.MED_ALL_ELEMENTS)
int medcorba_test.nbOfComp = 1
tuple medcorba_test.supportOutLocal = SUPPORTClient( familycorba )
tuple medcorba_test.supportOutCorba = createCorbaSupport( supportOutLocal )
tuple medcorba_test.fieldScalDblLoc = createLocalFieldDouble(nbOfComp,lengthValue)
list medcorba_test.value = [ random() for k in range(lengthValue*nbOfComp) ]
tuple medcorba_test.valueIverif = fieldScalDblLoc.getValue()
 the only way as field support not defined
tuple medcorba_test.fieldScalDblCorba = createCorbaFieldDouble(supportOutCorba,fieldScalDblLoc)
tuple medcorba_test.fieldScalIntLoc = createLocalFieldInt(nbOfComp,lengthValue)
tuple medcorba_test.fieldScalIntCorba = createCorbaFieldInt(supportOutCorba,fieldScalIntLoc)
tuple medcorba_test.fieldVectDblLoc = createLocalFieldDouble(nbOfComp,lengthValue)
tuple medcorba_test.fieldVectDblCorba = createCorbaFieldDouble(supportOutCorba,fieldVectDblLoc)
tuple medcorba_test.fieldVectIntLoc = createLocalFieldInt(nbOfComp,lengthValue)
tuple medcorba_test.fieldVectIntCorba = createCorbaFieldInt(supportOutCorba,fieldVectIntLoc)