]> SALOME platform Git repositories - samples/dsccode.git/blob - resources/calcium4.xml
Salome HOME
Increment version: 8.0.0
[samples/dsccode.git] / resources / calcium4.xml
1 <proc>
2
3     <!-- types -->
4     <container name="A">
5       <property name="hostname" value="localhost"/>
6     </container>
7     <container name="B">
8       <property name="hostname" value="localhost" />
9     </container>
10     <container name="C">
11       <property name="hostname" value="localhost"/>
12     </container>
13     <container name="D">
14       <property name="hostname" value="localhost"/>
15     </container>
16     <container name="E">
17       <property name="hostname" value="localhost"/>
18     </container>
19     <container name="F">
20       <property name="hostname" value="localhost"/>
21     </container>
22
23     <!-- inline -->
24
25     <bloc name="a">
26       <service name="canal" >
27         <component>FLUIDE</component>
28         <method>prun</method>
29         <load container="A"/> 
30         <instream name="tpi" type="CALCIUM_real"/>
31         <instream name="iconv" type="CALCIUM_integer"/>
32         <outstream name="tfi" type="CALCIUM_real"/>
33       </service>
34       <service name="crayon" >
35         <component>SOLIDE</component>
36         <method>prun</method>
37         <load container="B"/>
38         <instream name="puissi" type="CALCIUM_real"/>
39         <instream name="tfi" type="CALCIUM_real"/>
40         <outstream name="tpi" type="CALCIUM_real"/>
41         <outstream name="tempi" type="CALCIUM_real"/>
42         <outstream name="iconv" type="CALCIUM_integer"/>
43       </service>
44       <service name="comb" >
45         <component>NEUTRO</component>
46         <method>prun</method>
47         <load container="C"/>
48         <instream name="tempi" type="CALCIUM_real"/>
49         <instream name="iconv" type="CALCIUM_integer"/>
50         <outstream name="puissi" type="CALCIUM_real"/>
51       </service>
52       <service name="int4" >
53         <component>INTERPI</component>
54         <method>prun</method>
55         <load container="D"/>
56         <instream name="tparoi" type="CALCIUM_real"/>
57         <outstream name="tpar" type="CALCIUM_real"/>
58       </service>
59       <stream>
60         <fromnode>crayon</fromnode> <fromport>tpi</fromport>
61         <tonode>int4</tonode> <toport>tparoi</toport>
62         <property name="StorageLevel" value="10"/>
63       </stream>
64       <stream>
65         <fromnode>int4</fromnode> <fromport>tpar</fromport>
66         <tonode>canal</tonode> <toport>tpi</toport>
67         <property name="StorageLevel" value="10"/>
68       </stream>
69       <stream>
70         <fromnode>canal</fromnode> <fromport>tfi</fromport>
71         <tonode>crayon</tonode> <toport>tfi</toport>
72         <property name="StorageLevel" value="10"/>
73       </stream>
74       <stream>
75         <fromnode>crayon</fromnode> <fromport>tempi</fromport>
76         <tonode>comb</tonode> <toport>tempi</toport>
77         <property name="StorageLevel" value="10"/>
78       </stream>
79       <stream>
80         <fromnode>comb</fromnode> <fromport>puissi</fromport>
81         <tonode>crayon</tonode> <toport>puissi</toport>
82         <property name="StorageLevel" value="10"/>
83       </stream>
84       <stream>
85         <fromnode>crayon</fromnode> <fromport>iconv</fromport>
86         <tonode>canal</tonode> <toport>iconv</toport>
87         <property name="StorageLevel" value="10"/>
88       </stream>
89       <stream>
90         <fromnode>crayon</fromnode> <fromport>iconv</fromport>
91         <tonode>comb</tonode> <toport>iconv</toport>
92         <property name="StorageLevel" value="10"/>
93       </stream>
94     </bloc>
95
96     <bloc name="b">
97       <service name="canal" >
98         <node>a.canal</node>
99         <method>trun</method>
100         <inport name="dt" type="double"/>
101         <instream name="tparoi" type="CALCIUM_real"/>
102         <instream name="rparoi" type="CALCIUM_real"/>
103         <outstream name="tfluide" type="CALCIUM_real"/>
104         <outstream name="rfluide" type="CALCIUM_real"/>
105       </service>
106       <service name="crayon" >
107         <node>a.crayon</node>
108         <method>trun</method>
109         <inport name="dt" type="double"/>
110         <instream name="puissa" type="CALCIUM_real"/>
111         <instream name="text" type="CALCIUM_real"/>
112         <instream name="rext" type="CALCIUM_real"/>
113         <instream name="topo" type="CALCIUM_integer"/>
114         <outstream name="tparoi" type="CALCIUM_real"/>
115         <outstream name="rparoi" type="CALCIUM_real"/>
116         <outstream name="temperature" type="CALCIUM_real"/>
117       </service>
118       <service name="comb" >
119         <node>a.comb</node>
120         <method>trun</method>
121         <inport name="dt" type="double"/>
122         <instream name="temperature" type="CALCIUM_real"/>
123         <outstream name="puissance" type="CALCIUM_real"/>
124         <outstream name="topo" type="CALCIUM_integer"/>
125       </service>
126       <service name="int1" >
127         <node>a.int4</node>
128         <method>trun</method>
129         <instream name="tparoit" type="CALCIUM_real"/>
130         <outstream name="tpart" type="CALCIUM_real"/>
131       </service>
132       <service name="int2" >
133         <component>INTERPJ</component>
134         <method>trun</method>
135         <load container="E"/>
136         <instream name="tparoit" type="CALCIUM_real"/>
137         <outstream name="tpart" type="CALCIUM_real"/>
138       </service>
139       <service name="int3" >
140         <component>INTERPK</component>
141         <method>trun</method>
142         <load container="F"/>
143         <instream name="tparoit" type="CALCIUM_real"/>
144         <instream name="topo" type="CALCIUM_integer"/>
145         <outstream name="tpart" type="CALCIUM_real"/>
146         <outstream name="stopo" type="CALCIUM_integer"/>
147       </service>
148       <stream>
149         <fromnode>canal</fromnode> <fromport>rfluide</fromport>
150         <tonode>crayon</tonode> <toport>rext</toport>
151         <property name="StorageLevel" value="10"/>
152       </stream>
153       <stream>
154         <fromnode>canal</fromnode> <fromport>tfluide</fromport>
155         <tonode>crayon</tonode> <toport>text</toport>
156         <property name="StorageLevel" value="10"/>
157       </stream>
158       <stream>
159         <fromnode>crayon</fromnode> <fromport>rparoi</fromport>
160         <tonode>canal</tonode> <toport>rparoi</toport>
161         <property name="StorageLevel" value="10"/>
162       </stream>
163       <stream>
164         <fromnode>crayon</fromnode> <fromport>tparoi</fromport>
165         <tonode>int1</tonode> <toport>tparoit</toport>
166         <property name="StorageLevel" value="10"/>
167       </stream>
168       <stream>
169         <fromnode>int1</fromnode> <fromport>tpart</fromport>
170         <tonode>canal</tonode> <toport>tparoi</toport>
171         <property name="StorageLevel" value="10"/>
172         <property name="DateCalSchem" value="ALPHA_SCHEM"/>
173       </stream>
174       <stream>
175         <fromnode>crayon</fromnode> <fromport>temperature</fromport>
176         <tonode>int2</tonode> <toport>tparoit</toport>
177         <property name="StorageLevel" value="10"/>
178       </stream>
179       <stream>
180         <fromnode>int2</fromnode> <fromport>tpart</fromport>
181         <tonode>comb</tonode> <toport>temperature</toport>
182         <property name="StorageLevel" value="10"/>
183       </stream>
184       <stream>
185         <fromnode>comb</fromnode> <fromport>puissance</fromport>
186         <tonode>int3</tonode> <toport>tparoit</toport>
187         <property name="StorageLevel" value="10"/>
188       </stream>
189       <stream>
190         <fromnode>int3</fromnode> <fromport>tpart</fromport>
191         <tonode>crayon</tonode> <toport>puissa</toport>
192         <property name="StorageLevel" value="10"/>
193       </stream>
194
195       <stream>
196         <fromnode>comb</fromnode> <fromport>topo</fromport>
197         <tonode>int3</tonode> <toport>topo</toport>
198       </stream>
199       <stream>
200         <fromnode>int3</fromnode> <fromport>stopo</fromport>
201         <tonode>crayon</tonode> <toport>topo</toport>
202       </stream>
203     </bloc>
204
205     <!-- control -->
206     <control> <fromnode>a</fromnode> <tonode>b</tonode> </control>
207
208     <!--datalinks -->
209
210     <!--parameters -->
211     <parameter>
212       <tonode>b.canal</tonode> <toport>dt</toport>
213       <value><double>0.8</double></value>
214     </parameter>
215     <parameter>
216       <tonode>b.crayon</tonode> <toport>dt</toport>
217       <value><double>0.8</double></value>
218     </parameter>
219     <parameter>
220       <tonode>b.comb</tonode> <toport>dt</toport>
221       <value><double>0.8</double></value>
222     </parameter>
223
224
225     <!--stream -->
226
227 </proc>