]> SALOME platform Git repositories - modules/yacs.git/blob - src/evalyfx_swig/test0.xml
Salome HOME
Deleted deprecated code
[modules/yacs.git] / src / evalyfx_swig / test0.xml
1 <?xml version='1.0' encoding='iso-8859-1' ?>
2 <proc name="run">
3    <type name="bool" kind="bool"/>
4    <type name="double" kind="double"/>
5    <objref name="file" id="file"/>
6    <type name="int" kind="int"/>
7    <type name="string" kind="string"/>
8    <container name="DefaultContainer">
9       <property name="container_kind" value="Salome"/>
10       <property name="attached_on_cloning" value="0"/>
11       <property name="container_name" value="FactoryServer"/>
12       <property name="name" value="localhost"/>
13    </container>
14    <container name="zeCont">
15       <property name="container_kind" value="Salome"/>
16       <property name="attached_on_cloning" value="0"/>
17    </container>
18    <remote name="node0">
19       <function name="func0">
20          <code><![CDATA[def func0(a,b):
21   return a*b
22 ]]></code>
23       </function>
24       <load container="zeCont"/>
25       <inport name="a" type="double"/>
26       <inport name="b" type="double"/>
27       <outport name="c" type="double"/>
28    </remote>
29    <remote name="node1">
30       <function name="func1">
31          <code><![CDATA[def func1(a,b):
32   return a+b,3*(a+b)
33 ]]></code>
34       </function>
35       <load container="zeCont"/>
36       <inport name="d" type="double"/>
37       <inport name="e" type="double"/>
38       <outport name="f" type="double"/>
39       <outport name="g" type="double"/>
40    </remote>
41    <control> <fromnode>node0</fromnode> <tonode>node1</tonode> </control>
42    <datalink control="false">
43       <fromnode>node0</fromnode> <fromport>c</fromport>
44       <tonode>node1</tonode> <toport>d</toport>
45    </datalink>
46    <parameter>
47       <tonode>node1</tonode><toport>e</toport>
48       <value><double>2.5</double></value>
49    </parameter>
50    <parameter>
51       <tonode>node0</tonode><toport>b</toport>
52       <value><double>1.3</double></value>
53    </parameter>
54 </proc>