Back to index

salome-med  6.5.0
Functions | Variables
TestMedCorba7 Namespace Reference

Functions

def compare

Variables

list BASE = os.environ["MED_ROOT_DIR"]
tuple fileName = os.path.join( BASE, 'pointe.med' )
tuple md = MED()
tuple mdDriver = MED_MED_RDONLY_DRIVER(fileName, md)
tuple mLocal = md.getMesh(md.getMeshName(0))
tuple orb = CORBA.ORB_init([''], CORBA.ORB_ID)
tuple lcc = LifeCycleCORBA(orb)
tuple C = lcc.FindOrLoadComponent("FactoryServerPy", "Compo1Py")
tuple mDistant = C.Calcul1()
tuple mDistantCopy = MESHClient(mDistant)
tuple C2 = Compo2()
tuple s = C2.Calcul(mDistantCopy)

Function Documentation

def TestMedCorba7.compare (   x,
  y 
)

Definition at line 33 of file TestMedCorba7.py.

00033 
00034 def compare(x, y):
00035     if (len(x) != len(y)):
00036         return 0
00037     for i in xrange(len(x)):
00038         if x[i] != y[i]:
00039             return 0
00040     return 1
00041 
00042 # MED Mesh read from a (local) file


Variable Documentation

tuple TestMedCorba7.BASE = os.environ["MED_ROOT_DIR"]

Definition at line 26 of file TestMedCorba7.py.

tuple TestMedCorba7.C = lcc.FindOrLoadComponent("FactoryServerPy", "Compo1Py")

Definition at line 66 of file TestMedCorba7.py.

Definition at line 73 of file TestMedCorba7.py.

tuple TestMedCorba7.fileName = os.path.join( BASE, 'pointe.med' )

Definition at line 29 of file TestMedCorba7.py.

tuple TestMedCorba7.lcc = LifeCycleCORBA(orb)

Definition at line 64 of file TestMedCorba7.py.

tuple TestMedCorba7.md = MED()

Definition at line 45 of file TestMedCorba7.py.

tuple TestMedCorba7.mdDriver = MED_MED_RDONLY_DRIVER(fileName, md)

Definition at line 47 of file TestMedCorba7.py.

tuple TestMedCorba7.mDistant = C.Calcul1()

Definition at line 69 of file TestMedCorba7.py.

tuple TestMedCorba7.mDistantCopy = MESHClient(mDistant)

Definition at line 70 of file TestMedCorba7.py.

tuple TestMedCorba7.mLocal = md.getMesh(md.getMeshName(0))

Definition at line 53 of file TestMedCorba7.py.

tuple TestMedCorba7.orb = CORBA.ORB_init([''], CORBA.ORB_ID)

Definition at line 63 of file TestMedCorba7.py.

tuple TestMedCorba7.s = C2.Calcul(mDistantCopy)

Definition at line 85 of file TestMedCorba7.py.