Back to index

salome-med  6.5.0
Functions | Variables
TestMedCorba6 Namespace Reference

Functions

def compare

Variables

list BASE = os.environ["MED_ROOT_DIR"]
 ne fonctionne pas ? import salome
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()
int testDistant = 0

Function Documentation

def TestMedCorba6.compare (   x,
  y 
)

Definition at line 36 of file TestMedCorba6.py.

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


Variable Documentation

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

ne fonctionne pas ? import salome

Definition at line 29 of file TestMedCorba6.py.

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

Definition at line 69 of file TestMedCorba6.py.

Definition at line 76 of file TestMedCorba6.py.

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

Definition at line 32 of file TestMedCorba6.py.

tuple TestMedCorba6.lcc = LifeCycleCORBA(orb)

Definition at line 67 of file TestMedCorba6.py.

tuple TestMedCorba6.md = MED()

Definition at line 48 of file TestMedCorba6.py.

tuple TestMedCorba6.mdDriver = MED_MED_RDONLY_DRIVER(fileName, md)

Definition at line 50 of file TestMedCorba6.py.

tuple TestMedCorba6.mDistant = C.Calcul1()

Definition at line 72 of file TestMedCorba6.py.

tuple TestMedCorba6.mDistantCopy = MESHClient(mDistant)

Definition at line 73 of file TestMedCorba6.py.

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

Definition at line 56 of file TestMedCorba6.py.

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

Definition at line 66 of file TestMedCorba6.py.

Definition at line 81 of file TestMedCorba6.py.