1 <?xml version='1.0' encoding='us-ascii' ?>
3 <!-- XML component catalog -->
6 <!-- Path prefix information -->
11 <!-- Component list -->
14 <!-- Component identification -->
15 <component-name>PYCALCULATOR</component-name>
16 <component-username>PyCalculator</component-username>
17 <component-type>SOLVER</component-type>
18 <component-author>LD</component-author>
19 <component-version>3.1.0a</component-version>
20 <component-comment>Test component (Arithmetic operations with MED_Field)</component-comment>
21 <component-multistudy>0</component-multistudy>
22 <constraint>hostname = localhost</constraint>
24 <component-interface-list>
25 <component-interface-name>PYCALCULATOR</component-interface-name>
26 <component-interface-comment>No comment</component-interface-comment>
28 <component-service-list>
30 <!-- service-identification -->
31 <service-name>Mul</service-name>
32 <service-author>LD</service-author>
33 <service-version>1.0</service-version>
34 <service-comment>Multiplication of 2 fields of double</service-comment>
35 <service-by-default>1</service-by-default>
36 <!-- service-connexion -->
39 <inParameter-type>FIELDDOUBLE</inParameter-type>
40 <inParameter-name>field1</inParameter-name>
41 <inParameter-comment>initial field of double</inParameter-comment>
44 <inParameter-type>double</inParameter-type>
45 <inParameter-name>x1</inParameter-name>
46 <inParameter-comment>multiplicator</inParameter-comment>
51 <outParameter-type>FIELDDOUBLE</outParameter-type>
52 <outParameter-name>field2</outParameter-name>
53 <outParameter-comment>result</outParameter-comment>
58 <!-- service-identification -->
59 <service-name>Add</service-name>
60 <service-author>LD</service-author>
61 <service-version>1.0</service-version>
62 <service-comment>Addition of 2 fields of double</service-comment>
63 <service-by-default>1</service-by-default>
64 <!-- service-connexion -->
67 <inParameter-type>FIELDDOUBLE</inParameter-type>
68 <inParameter-name>field1</inParameter-name>
69 <inParameter-comment>first field of double</inParameter-comment>
72 <inParameter-type>FIELDDOUBLE</inParameter-type>
73 <inParameter-name>field2</inParameter-name>
74 <inParameter-comment>second field of double</inParameter-comment>
79 <outParameter-type>FIELDDOUBLE</outParameter-type>
80 <outParameter-name>field3</outParameter-name>
81 <outParameter-comment>result</outParameter-comment>
86 <!-- service-identification -->
87 <service-name>Constant</service-name>
88 <service-author>LD</service-author>
89 <service-version>1.0</service-version>
90 <service-comment>Build a constant field of doubles</service-comment>
91 <service-by-default>1</service-by-default>
92 <!-- service-connexion -->
95 <inParameter-type>FIELDDOUBLE</inParameter-type>
96 <inParameter-name>field1</inParameter-name>
97 <inParameter-comment>allows to build the support</inParameter-comment>
100 <inParameter-type>double</inParameter-type>
101 <inParameter-name>x1</inParameter-name>
102 <inParameter-comment>the constant</inParameter-comment>
107 <outParameter-type>FIELDDOUBLE</outParameter-type>
108 <outParameter-name>field2</outParameter-name>
109 <outParameter-comment>result based on first field support</outParameter-comment>
114 <!-- service-identification -->
115 <service-name>writeMEDfile</service-name>
116 <service-author>LD</service-author>
117 <service-version>1.0</service-version>
118 <service-comment>write a field in a Med file</service-comment>
119 <service-by-default>1</service-by-default>
120 <!-- service-connexion -->
123 <inParameter-type>FIELDDOUBLE</inParameter-type>
124 <inParameter-name>field1</inParameter-name>
125 <inParameter-comment>transient Med field</inParameter-comment>
128 <inParameter-type>string</inParameter-type>
129 <inParameter-name>filename</inParameter-name>
130 <inParameter-comment>Med filename</inParameter-comment>
134 </component-service-list>
135 </component-interface-list>