Salome HOME
Update copyrights
[samples/datafiles.git] / Yacs / Schemas / stream2.xml
1 <!--
2   Copyright (C) 2006-2019  CEA/DEN, EDF R&D
3
4   This library is free software; you can redistribute it and/or
5   modify it under the terms of the GNU Lesser General Public
6   License as published by the Free Software Foundation; either
7   version 2.1 of the License, or (at your option) any later version.
8
9   This library is distributed in the hope that it will be useful,
10   but WITHOUT ANY WARRANTY; without even the implied warranty of
11   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12   Lesser General Public License for more details.
13
14   You should have received a copy of the GNU Lesser General Public
15   License along with this library; if not, write to the Free Software
16   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17
18   See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19
20 -->
21 <proc>
22
23     <!-- types -->
24     <objref name="BASIC_short"/>
25     <!-- inline -->
26     <inline name="node0" >
27       <script>
28         <code>n=20</code>
29       </script>
30       <outport name="n" type="int"/>
31     </inline>
32     <!-- service -->
33     <service name="node1" >
34       <component>DSCCODA</component>
35       <method>prun</method>
36       <inport name="niter" type="int"/>
37       <instream name="prun_in_port" type="BASIC_short"/>
38       <outstream name="prun_out_port" type="BASIC_short"/>
39     </service>
40     <service name="node2" >
41       <component>DSCCODB</component>
42       <method>prun</method>
43       <inport name="niter" type="int"/>
44       <instream name="prun_in_port" type="BASIC_short"/>
45       <outstream name="prun_out_port" type="BASIC_short"/>
46     </service>
47     <!--control -->
48     <control> <fromnode>node0</fromnode> <tonode>node1</tonode> </control>
49     <control> <fromnode>node0</fromnode> <tonode>node2</tonode> </control>
50     <!--datalinks -->
51     <datalink> 
52       <fromnode>node0</fromnode><fromport>n</fromport>
53       <tonode>node1</tonode> <toport>niter</toport> 
54     </datalink>
55     <datalink> 
56       <fromnode>node0</fromnode><fromport>n</fromport>
57       <tonode>node2</tonode> <toport>niter</toport> 
58     </datalink>
59     <!--parameters -->
60
61     <!--stream -->
62     <stream>
63       <fromnode>node1</fromnode> <fromport>prun_out_port</fromport>
64       <tonode>node2</tonode> <toport>prun_in_port</toport>
65     </stream>
66     <stream>
67       <fromnode>node2</fromnode> <fromport>prun_out_port</fromport>
68       <tonode>node1</tonode> <toport>prun_in_port</toport>
69     </stream>
70
71 </proc>