]> SALOME platform Git repositories - samples/pycalculator.git/blob - resources/PYCALCULATORCatalog.xml
Salome HOME
94b0661aae0dfea5cea6fa489dc14b5797e8d56f
[samples/pycalculator.git] / resources / PYCALCULATORCatalog.xml
1 <?xml version='1.0' encoding='us-ascii' ?>
2  
3 <!-- XML component catalog -->
4 <begin-catalog>
5
6 <!-- Path prefix information -->
7
8 <path-prefix-list>
9 </path-prefix-list>
10
11 <!-- Component list -->
12 <component-list>
13         <component>
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>
23
24                 <component-interface-list>
25                         <component-interface-name>PYCALCULATOR</component-interface-name>
26                         <component-interface-comment>No comment</component-interface-comment>
27
28                         <component-service-list>
29                                 <component-service>
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 -->
37                                         <inParameter-list>
38                                                 <inParameter>
39                                                         <inParameter-type>FIELDDOUBLE</inParameter-type>
40                                                         <inParameter-name>field1</inParameter-name>
41                                                         <inParameter-comment>initial field of double</inParameter-comment>
42                                                 </inParameter>
43                                                 <inParameter>
44                                                         <inParameter-type>double</inParameter-type>
45                                                         <inParameter-name>x1</inParameter-name>
46                                                         <inParameter-comment>multiplicator</inParameter-comment>
47                                                 </inParameter>
48                                         </inParameter-list>
49                                         <outParameter-list>
50                                                  <outParameter>
51                                                         <outParameter-type>FIELDDOUBLE</outParameter-type>
52                                                         <outParameter-name>field2</outParameter-name>
53                                                         <outParameter-comment>result</outParameter-comment>
54                                                  </outParameter>
55                                         </outParameter-list>
56                                 </component-service>
57                                 <component-service>
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 -->
65                                         <inParameter-list>
66                                                 <inParameter>
67                                                         <inParameter-type>FIELDDOUBLE</inParameter-type>
68                                                         <inParameter-name>field1</inParameter-name>
69                                                         <inParameter-comment>first field of double</inParameter-comment>
70                                                 </inParameter>
71                                                 <inParameter>
72                                                         <inParameter-type>FIELDDOUBLE</inParameter-type>
73                                                         <inParameter-name>field2</inParameter-name>
74                                                         <inParameter-comment>second field of double</inParameter-comment>
75                                                 </inParameter>
76                                         </inParameter-list>
77                                         <outParameter-list>
78                                                  <outParameter>
79                                                         <outParameter-type>FIELDDOUBLE</outParameter-type>
80                                                         <outParameter-name>field3</outParameter-name>
81                                                         <outParameter-comment>result</outParameter-comment>
82                                                  </outParameter>
83                                         </outParameter-list>
84                                 </component-service>
85                                 <component-service>
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 -->
93                                         <inParameter-list>
94                                                 <inParameter>
95                                                         <inParameter-type>FIELDDOUBLE</inParameter-type>
96                                                         <inParameter-name>field1</inParameter-name>
97                                                         <inParameter-comment>allows to build the support</inParameter-comment>
98                                                 </inParameter>
99                                                 <inParameter>
100                                                         <inParameter-type>double</inParameter-type>
101                                                         <inParameter-name>x1</inParameter-name>
102                                                         <inParameter-comment>the constant</inParameter-comment>
103                                                 </inParameter>
104                                         </inParameter-list>
105                                         <outParameter-list>
106                                                  <outParameter>
107                                                         <outParameter-type>FIELDDOUBLE</outParameter-type>
108                                                         <outParameter-name>field2</outParameter-name>
109                                                         <outParameter-comment>result based on first field support</outParameter-comment>
110                                                  </outParameter>
111                                         </outParameter-list>
112                                 </component-service>
113                                 <component-service>
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 -->
121                                         <inParameter-list>
122                                                 <inParameter>
123                                                         <inParameter-type>FIELDDOUBLE</inParameter-type>
124                                                         <inParameter-name>field1</inParameter-name>
125                                                         <inParameter-comment>transient Med field</inParameter-comment>
126                                                 </inParameter>
127                                                 <inParameter>
128                                                         <inParameter-type>string</inParameter-type>
129                                                         <inParameter-name>filename</inParameter-name>
130                                                         <inParameter-comment>Med filename</inParameter-comment>
131                                                 </inParameter>
132                                         </inParameter-list>
133                                 </component-service>
134                         </component-service-list>
135                 </component-interface-list>
136
137         </component>
138 </component-list>
139 </begin-catalog>