Back to index

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

Go to the source code of this file.

Namespaces

namespace  batchmode_medcorba_test

Functions

def batchmode_medcorba_test.AnalyzeField
def batchmode_medcorba_test.getMeshObjectFromStudy
def batchmode_medcorba_test.getFieldDoubleObjectFromStudy
def batchmode_medcorba_test.getFieldIntObjectFromStudy
def batchmode_medcorba_test.getMedObjectFromStudy

Variables

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