Salome HOME
296a29600deff86b27d408aea95443961632a19d
[samples/datafiles.git] / Yacs / Schemas / datanode0.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         <datanode name="a">
23           <parameter name="p1" type="double">
24             <value>
25               <double>13.5</double>
26             </value>
27           </parameter>
28         </datanode>
29
30         <inline name="n2" >
31           <script><code>print(p1)</code></script>
32           <inport name="p1" type="double"/>
33           <outport name="p1" type="double"/>
34         </inline>
35
36         <bloc name="b">
37         <inline name="n2" >
38           <script><code>print(p1)</code></script>
39           <inport name="p1" type="double"/>
40           <outport name="p1" type="double"/>
41         </inline>
42         </bloc>
43
44         <outnode name="out" ref="g.data">
45           <parameter name="d1" type="double" />
46         </outnode>
47
48         <datalink> <fromnode>a</fromnode><fromport>p1</fromport>
49             <tonode>n2</tonode> <toport>p1</toport> </datalink>
50         <datalink> <fromnode>a</fromnode><fromport>p1</fromport>
51             <tonode>b.n2</tonode> <toport>p1</toport> </datalink>
52         <datalink> <fromnode>b.n2</fromnode><fromport>p1</fromport>
53             <tonode>out</tonode> <toport>d1</toport> </datalink>
54
55
56 </proc>