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>Add</service-name>
53 <service-author>LD</service-author>
54 <service-version>1.0</service-version>
55 <service-comment>Addition of 2 fields of double</service-comment>
56 <service-by-default>1</service-by-default>
57 <!-- service-connexion -->
60 <inParameter-name>field1</inParameter-name>
61 <inParameter-type>SALOME_MED/FIELDDOUBLE</inParameter-type>
62 <inParameter-comment>first field of double</inParameter-comment>
65 <inParameter-name>field2</inParameter-name>
66 <inParameter-type>SALOME_MED/FIELDDOUBLE</inParameter-type>
67 <inParameter-comment>second field of double</inParameter-comment>
72 <outParameter-name>result</outParameter-name>
73 <outParameter-type>SALOME_MED/FIELDDOUBLE</outParameter-type>
74 <outParameter-comment>result</outParameter-comment>
77 <DataStream-list></DataStream-list>
80 <!-- service-identification -->
81 <service-name>Mul</service-name>
82 <service-author>LD</service-author>
83 <service-version>1.0</service-version>
84 <service-comment>Multiplication of 2 fields of double</service-comment>
85 <service-by-default>0</service-by-default>
86 <!-- service-connexion -->
89 <inParameter-name>field1</inParameter-name>
90 <inParameter-type>SALOME_MED/FIELDDOUBLE</inParameter-type>
91 <inParameter-comment>initial field of double</inParameter-comment>
94 <inParameter-name>x1</inParameter-name>
95 <inParameter-type>double</inParameter-type>
96 <inParameter-comment>multiplicator</inParameter-comment>
101 <outParameter-name>result</outParameter-name>
102 <outParameter-type>SALOME_MED/FIELDDOUBLE</outParameter-type>
103 <outParameter-comment>result</outParameter-comment>
106 <DataStream-list></DataStream-list>
109 <!-- service-identification -->
110 <service-name>Constant</service-name>
111 <service-author>LD</service-author>
112 <service-version>1.0</service-version>
113 <service-comment>Build a constant field of doubles</service-comment>
114 <service-by-default>0</service-by-default>
115 <!-- service-connexion -->
118 <inParameter-name>field1</inParameter-name>
119 <inParameter-type>SALOME_MED/FIELDDOUBLE</inParameter-type>
120 <inParameter-comment>allows to build the support</inParameter-comment>
123 <inParameter-name>x1</inParameter-name>
124 <inParameter-type>double</inParameter-type>
125 <inParameter-comment>the constant</inParameter-comment>
130 <outParameter-name>result</outParameter-name>
131 <outParameter-type>SALOME_MED/FIELDDOUBLE</outParameter-type>
132 <outParameter-comment>result based on first field support</outParameter-comment>
135 <DataStream-list></DataStream-list>
138 <!-- service-identification -->
139 <service-name>writeMEDfile</service-name>
140 <service-author>LD</service-author>
141 <service-version>1.0</service-version>
142 <service-comment>write a field in a Med file</service-comment>
143 <service-by-default>0</service-by-default>
144 <!-- service-connexion -->
147 <inParameter-name>field1</inParameter-name>
148 <inParameter-type>SALOME_MED/FIELDDOUBLE</inParameter-type>
149 <inParameter-comment>transient Med field</inParameter-comment>
152 <inParameter-name>filename</inParameter-name>
153 <inParameter-type>string</inParameter-type>
154 <inParameter-comment>Med filename</inParameter-comment>
157 <outParameter-list></outParameter-list>
158 <DataStream-list></DataStream-list>
160 </component-service-list>
161 </component-interface-list>