Salome HOME
Update copyrights
[samples/datafiles.git] / Yacs / Schemas / calcium3.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="CALCIUM_integer"/>
25     <objref name="CALCIUM_real"/>
26     <!-- inline -->
27     <inline name="node0" >
28       <script>
29         <code>n=20</code>
30       </script>
31       <outport name="n" type="int"/>
32     </inline>
33
34     <bloc name="a">
35       <service name="node1" >
36         <component>DSCCODC</component>
37         <method>prun</method>
38         <inport name="niter" type="int"/>
39         <instream name="ETP_EN" type="CALCIUM_integer"/>
40         <outstream name="STP_EN" type="CALCIUM_integer"/>
41       </service>
42       <service name="node2" >
43         <component>DSCCODD</component>
44         <method>prun</method>
45         <inport name="niter" type="int"/>
46         <instream name="ETP_EN" type="CALCIUM_integer"/>
47         <outstream name="STP_EN" type="CALCIUM_integer"/>
48       </service>
49       <stream>
50         <fromnode>node2</fromnode> <fromport>STP_EN</fromport>
51         <tonode>node1</tonode> <toport>ETP_EN</toport>
52       </stream>
53       <stream>
54         <fromnode>node1</fromnode> <fromport>STP_EN</fromport>
55         <tonode>node2</tonode> <toport>ETP_EN</toport>
56       </stream>
57     </bloc>
58
59     <bloc name="b">
60       <service name="node3" >
61         <node>a.node1</node>
62         <method>trun</method>
63         <inport name="niter" type="int"/>
64         <instream name="ETP_RE" type="CALCIUM_real"/>
65         <outstream name="STP_RE" type="CALCIUM_real"/>
66       </service>
67       <service name="node4" >
68         <node>a.node2</node>
69         <method>trun</method>
70         <inport name="niter" type="int"/>
71         <instream name="ETP_RE" type="CALCIUM_real"/>
72         <outstream name="STP_RE" type="CALCIUM_real"/>
73       </service>
74       <stream>
75         <fromnode>node4</fromnode> <fromport>STP_RE</fromport>
76         <tonode>node3</tonode> <toport>ETP_RE</toport>
77       </stream>
78       <stream>
79         <fromnode>node3</fromnode> <fromport>STP_RE</fromport>
80         <tonode>node4</tonode> <toport>ETP_RE</toport>
81       </stream>
82     </bloc>
83
84     <!--control -->
85     <control> <fromnode>node0</fromnode> <tonode>a</tonode> </control>
86     <control> <fromnode>a</fromnode> <tonode>b</tonode> </control>
87
88     <!--datalinks -->
89     <datalink> 
90       <fromnode>node0</fromnode><fromport>n</fromport>
91       <tonode>a.node1</tonode> <toport>niter</toport> 
92     </datalink>
93     <datalink> 
94       <fromnode>node0</fromnode><fromport>n</fromport>
95       <tonode>a.node2</tonode> <toport>niter</toport> 
96     </datalink>
97     <datalink> 
98       <fromnode>node0</fromnode><fromport>n</fromport>
99       <tonode>b.node3</tonode> <toport>niter</toport> 
100     </datalink>
101     <datalink> 
102       <fromnode>node0</fromnode><fromport>n</fromport>
103       <tonode>b.node4</tonode> <toport>niter</toport> 
104     </datalink>
105     <!--parameters -->
106
107     <!--stream -->
108
109 </proc>