2 from module_generator import Generator,Module,Service,PYComponent
5 "prerequisites":"/local/cchris/.packages.d/envSalome50",
6 "kernel":"/local/chris/SALOME2/RELEASES/Install/KERNEL_V5",
14 dep=calcium.CP_ITERATION
15 val=numpy.zeros(10,'d')
18 print "--------> Appel calcium.cp_edb"
19 info=calcium.cp_edb(component, dep, 0., 1, "ba", nval,val)
20 val=numpy.zeros(10,'d')
21 info,tt,ii,mval=calcium.cp_ldb(component, dep, 0.,1., 1, "aa", nval,val)
25 err=calcium.cp_fin(component,calcium.CP_ARRET)
27 c1=PYComponent("compo2",services=[
28 Service("s1",inport=[("a","double"),("b","double")],
29 outport=[("c","double"),("d","double")],
30 instream=[("aa","CALCIUM_double","I"),],
31 outstream=[("ba","CALCIUM_double","I"),],
32 defs="#def1",body=body,
39 g=Generator(Module("pycompos",components=[c1],prefix="./install"),context)
45 g.make_appli("appli",restrict=["KERNEL","GUI","YACS"])