Salome HOME
Merge from V6_main_20120808 08Aug12
[samples/datafiles.git] / Yacs / Schemas / calcium1.xml
1 <!--
2   Copyright (C) 2006-2011  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.
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     <!-- service -->
34       <service name="node3" >
35         <component>DSCCODC</component>
36         <method>trun</method>
37         <inport name="niter" type="int"/>
38         <instream name="ETP_RE" type="CALCIUM_real"/>
39         <outstream name="STP_RE" type="CALCIUM_real"/>
40       </service>
41       <service name="node4" >
42         <component>DSCCODD</component>
43         <method>trun</method>
44         <inport name="niter" type="int"/>
45         <instream name="ETP_RE" type="CALCIUM_real"/>
46         <outstream name="STP_RE" type="CALCIUM_real"/>
47       </service>
48       <stream>
49         <fromnode>node4</fromnode> <fromport>STP_RE</fromport>
50         <tonode>node3</tonode> <toport>ETP_RE</toport>
51       </stream>
52       <stream>
53         <fromnode>node3</fromnode> <fromport>STP_RE</fromport>
54         <tonode>node4</tonode> <toport>ETP_RE</toport>
55       </stream>
56     <!--control -->
57     <control> <fromnode>node0</fromnode> <tonode>node3</tonode> </control>
58     <control> <fromnode>node0</fromnode> <tonode>node4</tonode> </control>
59     <!--datalinks -->
60     <datalink> 
61       <fromnode>node0</fromnode><fromport>n</fromport>
62       <tonode>node3</tonode> <toport>niter</toport> 
63     </datalink>
64     <datalink> 
65       <fromnode>node0</fromnode><fromport>n</fromport>
66       <tonode>node4</tonode> <toport>niter</toport> 
67     </datalink>
68     <!--parameters -->
69
70     <!--stream -->
71 </proc>