1 <?xml version='1.0' encoding='us-ascii' ?>
3 Copyright (C) 2007-2013 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
26 <!-- XML component catalog -->
28 <!-- Path prefix information -->
29 <path-prefix-list></path-prefix-list>
30 <!-- Component list -->
33 <!-- Component identification -->
34 <component-name>PYCALCULATOR</component-name>
35 <component-username>PyCalculator</component-username>
36 <component-type>OTHER</component-type>
37 <component-author>LD</component-author>
38 <component-version>@SALOMEPYCALCULATOR_VERSION@</component-version>
39 <component-comment>Test component (Arithmetic operations with MED_Field)</component-comment>
40 <component-multistudy>0</component-multistudy>
41 <component-icone>PYCALCULATOR.png</component-icone>
42 <constraint>hostname = localhost</constraint>
43 <component-impltype>0</component-impltype>
44 <!-- Component interfaces -->
45 <component-interface-list>
46 <component-interface-name>PYCALCULATOR_Gen</component-interface-name>
47 <component-interface-comment>No comment</component-interface-comment>
49 <component-service-list>
51 <!-- service-identification -->
52 <service-name>Clone</service-name>
53 <service-author>LD</service-author>
54 <service-version>1.0</service-version>
55 <service-comment>Clone field</service-comment>
56 <service-by-default>1</service-by-default>
57 <!-- service-connexion -->
60 <inParameter-name>field</inParameter-name>
61 <inParameter-type>SALOME_MED/MEDCouplingFieldDoubleCorbaInterface</inParameter-type>
62 <inParameter-comment>a field of double</inParameter-comment>
67 <outParameter-name>result</outParameter-name>
68 <outParameter-type>SALOME_MED/MEDCouplingFieldDoubleCorbaInterface</outParameter-type>
69 <outParameter-comment>result</outParameter-comment>
72 <DataStream-list></DataStream-list>
75 <!-- service-identification -->
76 <service-name>Add</service-name>
77 <service-author>LD</service-author>
78 <service-version>1.0</service-version>
79 <service-comment>Addition of 2 fields of double</service-comment>
80 <service-by-default>1</service-by-default>
81 <!-- service-connexion -->
84 <inParameter-name>field1</inParameter-name>
85 <inParameter-type>SALOME_MED/MEDCouplingFieldDoubleCorbaInterface</inParameter-type>
86 <inParameter-comment>first field of double</inParameter-comment>
89 <inParameter-name>field2</inParameter-name>
90 <inParameter-type>SALOME_MED/MEDCouplingFieldDoubleCorbaInterface</inParameter-type>
91 <inParameter-comment>second field of double</inParameter-comment>
96 <outParameter-name>result</outParameter-name>
97 <outParameter-type>SALOME_MED/MEDCouplingFieldDoubleCorbaInterface</outParameter-type>
98 <outParameter-comment>result</outParameter-comment>
101 <DataStream-list></DataStream-list>
104 <!-- service-identification -->
105 <service-name>Mul</service-name>
106 <service-author>LD</service-author>
107 <service-version>1.0</service-version>
108 <service-comment>Multiplication of 2 fields of double</service-comment>
109 <service-by-default>0</service-by-default>
110 <!-- service-connexion -->
113 <inParameter-name>field1</inParameter-name>
114 <inParameter-type>SALOME_MED/MEDCouplingFieldDoubleCorbaInterface</inParameter-type>
115 <inParameter-comment>first field of double</inParameter-comment>
118 <inParameter-name>field2</inParameter-name>
119 <inParameter-type>SALOME_MED/MEDCouplingFieldDoubleCorbaInterface</inParameter-type>
120 <inParameter-comment>second field of double</inParameter-comment>
125 <outParameter-name>result</outParameter-name>
126 <outParameter-type>SALOME_MED/MEDCouplingFieldDoubleCorbaInterface</outParameter-type>
127 <outParameter-comment>result</outParameter-comment>
130 <DataStream-list></DataStream-list>
133 <!-- service-identification -->
134 <service-name>AddConstant</service-name>
135 <service-author>LD</service-author>
136 <service-version>1.0</service-version>
137 <service-comment>Add a constant to a field of doubles</service-comment>
138 <service-by-default>0</service-by-default>
139 <!-- service-connexion -->
142 <inParameter-name>field</inParameter-name>
143 <inParameter-type>SALOME_MED/MEDCouplingFieldDoubleCorbaInterface</inParameter-type>
144 <inParameter-comment>allows to build the support</inParameter-comment>
147 <inParameter-name>val</inParameter-name>
148 <inParameter-type>double</inParameter-type>
149 <inParameter-comment>a constant</inParameter-comment>
154 <outParameter-name>result</outParameter-name>
155 <outParameter-type>SALOME_MED/MEDCouplingFieldDoubleCorbaInterface</outParameter-type>
156 <outParameter-comment>result</outParameter-comment>
159 <DataStream-list></DataStream-list>
162 <!-- service-identification -->
163 <service-name>MulConstant</service-name>
164 <service-author>LD</service-author>
165 <service-version>1.0</service-version>
166 <service-comment>multiply a field to a constant</service-comment>
167 <service-by-default>0</service-by-default>
168 <!-- service-connexion -->
171 <inParameter-name>field</inParameter-name>
172 <inParameter-type>SALOME_MED/MEDCouplingFieldDoubleCorbaInterface</inParameter-type>
173 <inParameter-comment>a field of double</inParameter-comment>
176 <inParameter-name>val</inParameter-name>
177 <inParameter-type>double</inParameter-type>
178 <inParameter-comment>a constant</inParameter-comment>
183 <outParameter-name>result</outParameter-name>
184 <outParameter-type>SALOME_MED/MEDCouplingFieldDoubleCorbaInterface</outParameter-type>
185 <outParameter-comment>result</outParameter-comment>
188 <DataStream-list></DataStream-list>
190 </component-service-list>
191 </component-interface-list>