3 Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
5 Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
6 CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Lesser General Public
10 License as published by the Free Software Foundation; either
11 version 2.1 of the License.
13 This library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Lesser General Public License for more details.
18 You should have received a copy of the GNU Lesser General Public
19 License along with this library; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
29 <component-name>?</component-name>
30 <interface-name>?</interface-name>
31 <node-name>GraphLoop1</node-name>
33 <coupled-node>?</coupled-node>
35 <service-name>GraphLoop_2</service-name>
38 <inParameter-type>long</inParameter-type>
39 <inParameter-name>Init__Index</inParameter-name> </inParameter>
41 <inParameter-type>long</inParameter-type>
42 <inParameter-name>Init__Min</inParameter-name> </inParameter>
44 <inParameter-type>long</inParameter-type>
45 <inParameter-name>Init__Max</inParameter-name> </inParameter>
47 <inParameter-type>long</inParameter-type>
48 <inParameter-name>Init__Incr</inParameter-name> </inParameter> </inParameter-list>
51 <outParameter-type>long</outParameter-type>
52 <outParameter-name>EndInit__Index</outParameter-name> </outParameter>
54 <outParameter-type>long</outParameter-type>
55 <outParameter-name>EndInit__Min</outParameter-name> </outParameter>
57 <outParameter-type>long</outParameter-type>
58 <outParameter-name>EndInit__Max</outParameter-name> </outParameter>
60 <outParameter-type>long</outParameter-type>
61 <outParameter-name>EndInit__Incr</outParameter-name> </outParameter> </outParameter-list> </service>
64 <creation-date>24/3/2003 - 14:44:35</creation-date>
65 <lastmodification-date>6/6/2005 - 15:13:52</lastmodification-date>
66 <editor-release>1.04</editor-release>
68 <container>?</container>
70 <x-position>0</x-position>
71 <y-position>0</y-position> </node> </info-list>
74 <component-name>?</component-name>
75 <interface-name>?</interface-name>
76 <node-name>Init</node-name>
78 <coupled-node>EndInit</coupled-node>
80 <service-name>Init</service-name>
83 <inParameter-type>long</inParameter-type>
84 <inParameter-name>Index</inParameter-name> </inParameter>
86 <inParameter-type>long</inParameter-type>
87 <inParameter-name>Min</inParameter-name> </inParameter>
89 <inParameter-type>long</inParameter-type>
90 <inParameter-name>Max</inParameter-name> </inParameter>
92 <inParameter-type>long</inParameter-type>
93 <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
96 <outParameter-type>long</outParameter-type>
97 <outParameter-name>Index</outParameter-name> </outParameter>
99 <outParameter-type>long</outParameter-type>
100 <outParameter-name>Min</outParameter-name> </outParameter>
102 <outParameter-type>long</outParameter-type>
103 <outParameter-name>Max</outParameter-name> </outParameter>
105 <outParameter-type>long</outParameter-type>
106 <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
110 <FuncName>Init</FuncName>
111 <PyFunc><![CDATA[def Init(Index,Min,Max,Incr) : ]]></PyFunc>
112 <PyFunc><![CDATA[ if Min <= Max : ]]></PyFunc>
113 <PyFunc><![CDATA[ Index = Min ]]></PyFunc>
114 <PyFunc><![CDATA[ else : ]]></PyFunc>
115 <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
116 <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction>
118 <FuncName>More</FuncName>
119 <PyFunc><![CDATA[import time ]]></PyFunc>
120 <PyFunc><![CDATA[def More(Index,Min,Max,Incr) : ]]></PyFunc>
121 <PyFunc><![CDATA[ time.sleep(2) ]]></PyFunc>
122 <PyFunc><![CDATA[ if Index < Max : ]]></PyFunc>
123 <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
124 <PyFunc><![CDATA[ else : ]]></PyFunc>
125 <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
126 <PyFunc><![CDATA[ return DoLoop,Index,Min,Max,Incr ]]></PyFunc> </PyFunction>
128 <FuncName>Next</FuncName>
129 <PyFunc><![CDATA[def Next(Index,Min,Max,Incr) : ]]></PyFunc>
130 <PyFunc><![CDATA[ Index = Index + Incr ]]></PyFunc>
131 <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction> </PyFunction-list>
132 <creation-date>6/6/2005 - 15:13:52</creation-date>
133 <lastmodification-date>6/6/2005 - 15:13:52</lastmodification-date>
134 <editor-release>1.04</editor-release>
136 <container>?</container>
137 <comment>Compute Node</comment>
138 <x-position>17</x-position>
139 <y-position>257</y-position> </node>
141 <component-name>?</component-name>
142 <interface-name>?</interface-name>
143 <node-name>EndInit</node-name>
145 <coupled-node>Init</coupled-node>
147 <service-name>EndInit</service-name>
150 <inParameter-type>long</inParameter-type>
151 <inParameter-name>Index</inParameter-name> </inParameter>
153 <inParameter-type>long</inParameter-type>
154 <inParameter-name>Min</inParameter-name> </inParameter>
156 <inParameter-type>long</inParameter-type>
157 <inParameter-name>Max</inParameter-name> </inParameter>
159 <inParameter-type>long</inParameter-type>
160 <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
163 <outParameter-type>long</outParameter-type>
164 <outParameter-name>Index</outParameter-name> </outParameter>
166 <outParameter-type>long</outParameter-type>
167 <outParameter-name>Min</outParameter-name> </outParameter>
169 <outParameter-type>long</outParameter-type>
170 <outParameter-name>Max</outParameter-name> </outParameter>
172 <outParameter-type>long</outParameter-type>
173 <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
177 <FuncName>?</FuncName>
178 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
179 <creation-date>6/6/2005 - 15:13:52</creation-date>
180 <lastmodification-date>6/6/2005 - 15:13:52</lastmodification-date>
181 <editor-release>1.04</editor-release>
183 <container>?</container>
184 <comment>Compute Node</comment>
185 <x-position>555</x-position>
186 <y-position>255</y-position> </node>
188 <component-name>?</component-name>
189 <interface-name>?</interface-name>
190 <node-name>NodeIndex</node-name>
192 <coupled-node>?</coupled-node>
194 <service-name>NodeIndex</service-name>
197 <inParameter-type>long</inParameter-type>
198 <inParameter-name>Index</inParameter-name> </inParameter> </inParameter-list>
201 <outParameter-type>long</outParameter-type>
202 <outParameter-name>Index</outParameter-name> </outParameter> </outParameter-list> </service>
206 <FuncName>?</FuncName>
207 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
208 <creation-date>6/6/2005 - 15:13:52</creation-date>
209 <lastmodification-date>6/6/2005 - 15:13:52</lastmodification-date>
210 <editor-release>2.0</editor-release>
212 <container>?</container>
213 <comment>Compute Node</comment>
214 <x-position>281</x-position>
215 <y-position>215</y-position> </node>
217 <component-name>?</component-name>
218 <interface-name>?</interface-name>
219 <node-name>NodeIncr</node-name>
221 <coupled-node>?</coupled-node>
223 <service-name>NodeIncr</service-name>
226 <inParameter-type>long</inParameter-type>
227 <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
230 <outParameter-type>long</outParameter-type>
231 <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
235 <FuncName>?</FuncName>
236 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
237 <creation-date>6/6/2005 - 15:13:52</creation-date>
238 <lastmodification-date>6/6/2005 - 15:13:52</lastmodification-date>
239 <editor-release>2.0</editor-release>
241 <container>?</container>
242 <comment>Compute Node</comment>
243 <x-position>278</x-position>
244 <y-position>372</y-position> </node> </node-list>
247 <fromnode-name>Init</fromnode-name>
248 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
249 <tonode-name>EndInit</tonode-name>
250 <toserviceparameter-name>DoLoop</toserviceparameter-name>
251 <coord-list/> </link>
253 <fromnode-name>Init</fromnode-name>
254 <fromserviceparameter-name>Index</fromserviceparameter-name>
255 <tonode-name>NodeIndex</tonode-name>
256 <toserviceparameter-name>Index</toserviceparameter-name>
257 <coord-list/> </link>
259 <fromnode-name>Init</fromnode-name>
260 <fromserviceparameter-name>Min</fromserviceparameter-name>
261 <tonode-name>EndInit</tonode-name>
262 <toserviceparameter-name>Min</toserviceparameter-name>
263 <coord-list/> </link>
265 <fromnode-name>Init</fromnode-name>
266 <fromserviceparameter-name>Max</fromserviceparameter-name>
267 <tonode-name>EndInit</tonode-name>
268 <toserviceparameter-name>Max</toserviceparameter-name>
269 <coord-list/> </link>
271 <fromnode-name>Init</fromnode-name>
272 <fromserviceparameter-name>Incr</fromserviceparameter-name>
273 <tonode-name>NodeIncr</tonode-name>
274 <toserviceparameter-name>Incr</toserviceparameter-name>
275 <coord-list/> </link>
277 <fromnode-name>EndInit</fromnode-name>
278 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
279 <tonode-name>Init</tonode-name>
280 <toserviceparameter-name>DoLoop</toserviceparameter-name>
281 <coord-list/> </link>
283 <fromnode-name>NodeIndex</fromnode-name>
284 <fromserviceparameter-name>Index</fromserviceparameter-name>
285 <tonode-name>EndInit</tonode-name>
286 <toserviceparameter-name>Index</toserviceparameter-name>
287 <coord-list/> </link>
289 <fromnode-name>NodeIncr</fromnode-name>
290 <fromserviceparameter-name>Incr</fromserviceparameter-name>
291 <tonode-name>EndInit</tonode-name>
292 <toserviceparameter-name>Incr</toserviceparameter-name>
293 <coord-list/> </link> </link-list>
296 <fromnode-name>GraphLoop1</fromnode-name>
297 <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
298 <tonode-name>Init</tonode-name>
299 <toserviceparameter-name>Index</toserviceparameter-name>
301 <value-type>3</value-type>
302 <value>0</value> </data-value>
303 <coord-list/> </data>
305 <fromnode-name>GraphLoop1</fromnode-name>
306 <fromserviceparameter-name>Init__Min</fromserviceparameter-name>
307 <tonode-name>Init</tonode-name>
308 <toserviceparameter-name>Min</toserviceparameter-name>
310 <value-type>3</value-type>
311 <value>5</value> </data-value>
312 <coord-list/> </data>
314 <fromnode-name>GraphLoop1</fromnode-name>
315 <fromserviceparameter-name>Init__Max</fromserviceparameter-name>
316 <tonode-name>Init</tonode-name>
317 <toserviceparameter-name>Max</toserviceparameter-name>
319 <value-type>3</value-type>
320 <value>10</value> </data-value>
321 <coord-list/> </data>
323 <fromnode-name>GraphLoop1</fromnode-name>
324 <fromserviceparameter-name>Init__Incr</fromserviceparameter-name>
325 <tonode-name>Init</tonode-name>
326 <toserviceparameter-name>Incr</toserviceparameter-name>
328 <value-type>3</value-type>
329 <value>1</value> </data-value>
330 <coord-list/> </data> </data-list> </dataflow></supergraph>