3 Copyright (C) 2007-2015 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, or (at your option) any later version.
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>GraphLoopMemory_1</node-name>
33 <coupled-node>?</coupled-node>
35 <service-name>GraphLoopMemory_1</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>21/2/2005 - 11:43:50</lastmodification-date>
66 <editor-release>1.04</editor-release>
68 <container>?</container>
69 <comment>For solving of memory leaks</comment>
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[def More(Index,Min,Max,Incr) : ]]></PyFunc>
120 <PyFunc><![CDATA[ if Index < Max : ]]></PyFunc>
121 <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
122 <PyFunc><![CDATA[ else : ]]></PyFunc>
123 <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
124 <PyFunc><![CDATA[ return DoLoop,Index,Min,Max,Incr ]]></PyFunc> </PyFunction>
126 <FuncName>Next</FuncName>
127 <PyFunc><![CDATA[def Next(Index,Min,Max,Incr) : ]]></PyFunc>
128 <PyFunc><![CDATA[ Index = Index + Incr ]]></PyFunc>
129 <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction> </PyFunction-list>
130 <creation-date>21/2/2005 - 11:43:50</creation-date>
131 <lastmodification-date>21/2/2005 - 11:43:50</lastmodification-date>
132 <editor-release>1.04</editor-release>
134 <container>?</container>
135 <comment>Compute Node</comment>
136 <x-position>17</x-position>
137 <y-position>257</y-position> </node>
139 <component-name>?</component-name>
140 <interface-name>?</interface-name>
141 <node-name>EndInit</node-name>
143 <coupled-node>Init</coupled-node>
145 <service-name>EndInit</service-name>
148 <inParameter-type>long</inParameter-type>
149 <inParameter-name>Index</inParameter-name> </inParameter>
151 <inParameter-type>long</inParameter-type>
152 <inParameter-name>Min</inParameter-name> </inParameter>
154 <inParameter-type>long</inParameter-type>
155 <inParameter-name>Max</inParameter-name> </inParameter>
157 <inParameter-type>long</inParameter-type>
158 <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
161 <outParameter-type>long</outParameter-type>
162 <outParameter-name>Index</outParameter-name> </outParameter>
164 <outParameter-type>long</outParameter-type>
165 <outParameter-name>Min</outParameter-name> </outParameter>
167 <outParameter-type>long</outParameter-type>
168 <outParameter-name>Max</outParameter-name> </outParameter>
170 <outParameter-type>long</outParameter-type>
171 <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
175 <FuncName>?</FuncName>
176 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
177 <creation-date>21/2/2005 - 11:43:50</creation-date>
178 <lastmodification-date>21/2/2005 - 11:43:50</lastmodification-date>
179 <editor-release>1.04</editor-release>
181 <container>?</container>
182 <comment>Compute Node</comment>
183 <x-position>366</x-position>
184 <y-position>262</y-position> </node> </node-list>
187 <fromnode-name>Init</fromnode-name>
188 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
189 <tonode-name>EndInit</tonode-name>
190 <toserviceparameter-name>DoLoop</toserviceparameter-name>
191 <coord-list/> </link>
193 <fromnode-name>Init</fromnode-name>
194 <fromserviceparameter-name>Index</fromserviceparameter-name>
195 <tonode-name>EndInit</tonode-name>
196 <toserviceparameter-name>Index</toserviceparameter-name>
197 <coord-list/> </link>
199 <fromnode-name>Init</fromnode-name>
200 <fromserviceparameter-name>Min</fromserviceparameter-name>
201 <tonode-name>EndInit</tonode-name>
202 <toserviceparameter-name>Min</toserviceparameter-name>
203 <coord-list/> </link>
205 <fromnode-name>Init</fromnode-name>
206 <fromserviceparameter-name>Max</fromserviceparameter-name>
207 <tonode-name>EndInit</tonode-name>
208 <toserviceparameter-name>Max</toserviceparameter-name>
209 <coord-list/> </link>
211 <fromnode-name>Init</fromnode-name>
212 <fromserviceparameter-name>Incr</fromserviceparameter-name>
213 <tonode-name>EndInit</tonode-name>
214 <toserviceparameter-name>Incr</toserviceparameter-name>
215 <coord-list/> </link>
217 <fromnode-name>EndInit</fromnode-name>
218 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
219 <tonode-name>Init</tonode-name>
220 <toserviceparameter-name>DoLoop</toserviceparameter-name>
221 <coord-list/> </link> </link-list>
224 <fromnode-name>GraphLoopMemory_1</fromnode-name>
225 <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
226 <tonode-name>Init</tonode-name>
227 <toserviceparameter-name>Index</toserviceparameter-name>
229 <value-type>3</value-type>
230 <value>0</value> </data-value>
231 <coord-list/> </data>
233 <fromnode-name>GraphLoopMemory_1</fromnode-name>
234 <fromserviceparameter-name>Init__Min</fromserviceparameter-name>
235 <tonode-name>Init</tonode-name>
236 <toserviceparameter-name>Min</toserviceparameter-name>
238 <value-type>3</value-type>
239 <value>5</value> </data-value>
240 <coord-list/> </data>
242 <fromnode-name>GraphLoopMemory_1</fromnode-name>
243 <fromserviceparameter-name>Init__Max</fromserviceparameter-name>
244 <tonode-name>Init</tonode-name>
245 <toserviceparameter-name>Max</toserviceparameter-name>
247 <value-type>3</value-type>
248 <value>100000</value> </data-value>
249 <coord-list/> </data>
251 <fromnode-name>GraphLoopMemory_1</fromnode-name>
252 <fromserviceparameter-name>Init__Incr</fromserviceparameter-name>
253 <tonode-name>Init</tonode-name>
254 <toserviceparameter-name>Incr</toserviceparameter-name>
256 <value-type>3</value-type>
257 <value>1</value> </data-value>
258 <coord-list/> </data> </data-list> </dataflow></supergraph>