1 | <!-- --> |
---|
2 | <context id="atm"> |
---|
3 | |
---|
4 | <calendar type="Gregorian" time_origin="1850-01-01 00:00:00" /> |
---|
5 | |
---|
6 | <domain_definition> |
---|
7 | <domain id="domain" /> |
---|
8 | <domain id="other_domain" /> |
---|
9 | </domain> |
---|
10 | |
---|
11 | <axis_definition> |
---|
12 | <axis id="axis" /> |
---|
13 | <axis id="domain_X" /> |
---|
14 | <axis id="domain_Y" /> |
---|
15 | <axis id="ensemble" /> |
---|
16 | |
---|
17 | <axis id="other_axis" /> |
---|
18 | <axis id="other_domain_X" /> |
---|
19 | <axis id="other_domain_Y" /> |
---|
20 | <axis id="other_ensemble" /> |
---|
21 | </axis_definition> |
---|
22 | |
---|
23 | <scalar_definition> |
---|
24 | <scalar id="scalar" /> |
---|
25 | </scalar_definition> |
---|
26 | |
---|
27 | |
---|
28 | |
---|
29 | <grid_definition> |
---|
30 | |
---|
31 | <grid id="grid3D"> |
---|
32 | <domain domain_ref="domain" /> |
---|
33 | <axis axis_ref="axis" /> |
---|
34 | </grid> |
---|
35 | |
---|
36 | <grid id="grid2D"> |
---|
37 | <domain domain_ref="domain" /> |
---|
38 | </grid> |
---|
39 | |
---|
40 | <grid id="grid1D"> |
---|
41 | <axis axis_ref="axis" /> |
---|
42 | </grid> |
---|
43 | |
---|
44 | <grid id="grid_X"> |
---|
45 | <axis axis_ref="domain_X" /> |
---|
46 | </grid> |
---|
47 | |
---|
48 | <grid id="grid_Y"> |
---|
49 | <axis axis_ref="domain_Y" /> |
---|
50 | </grid> |
---|
51 | |
---|
52 | <grid id="grid_XY"> |
---|
53 | <axis axis_ref="domain_X" /> |
---|
54 | <axis axis_ref="domain_Y" /> |
---|
55 | </grid> |
---|
56 | |
---|
57 | <grid id="grid_XYZ"> |
---|
58 | <axis axis_ref="domain_X" /> |
---|
59 | <axis axis_ref="domain_Y" /> |
---|
60 | <axis axis_ref="axis" /> |
---|
61 | </grid> |
---|
62 | |
---|
63 | <grid id="grid_XZ"> |
---|
64 | <axis axis_ref="domain_X" /> |
---|
65 | <axis axis_ref="axis" /> |
---|
66 | </grid> |
---|
67 | |
---|
68 | <grid id="grid_YZ"> |
---|
69 | <axis axis_ref="domain_Y" /> |
---|
70 | <axis axis_ref="axis" /> |
---|
71 | </grid> |
---|
72 | |
---|
73 | |
---|
74 | <grid id="grid3D_W"> |
---|
75 | <domain domain_ref="domain" /> |
---|
76 | <axis axis_ref="axis" /> |
---|
77 | <axis axis_ref="ensemble" /> |
---|
78 | </grid> |
---|
79 | |
---|
80 | <grid id="grid2D_W"> |
---|
81 | <domain domain_ref="domain" /> |
---|
82 | <axis axis_ref="ensemble" /> |
---|
83 | </grid> |
---|
84 | |
---|
85 | <grid id="grid1D_W"> |
---|
86 | <axis axis_ref="axis" /> |
---|
87 | <axis axis_ref="ensemble" /> |
---|
88 | </grid> |
---|
89 | |
---|
90 | <grid id="grid_XW"> |
---|
91 | <axis axis_ref="domain_X" /> |
---|
92 | <axis axis_ref="ensemble" /> |
---|
93 | </grid> |
---|
94 | |
---|
95 | <grid id="grid_YW"> |
---|
96 | <axis axis_ref="domain_Y" /> |
---|
97 | <axis axis_ref="ensemble" /> |
---|
98 | </grid> |
---|
99 | |
---|
100 | <grid id="grid_XYW"> |
---|
101 | <axis axis_ref="domain_X" /> |
---|
102 | <axis axis_ref="domain_Y" /> |
---|
103 | <axis axis_ref="ensemble" /> |
---|
104 | </grid> |
---|
105 | |
---|
106 | <grid id="grid_XYZW"> |
---|
107 | <axis axis_ref="domain_X" /> |
---|
108 | <axis axis_ref="domain_Y" /> |
---|
109 | <axis axis_ref="axis" /> |
---|
110 | <axis axis_ref="ensemble" /> |
---|
111 | </grid> |
---|
112 | |
---|
113 | <grid id="grid_XZW"> |
---|
114 | <axis axis_ref="domain_X" /> |
---|
115 | <axis axis_ref="axis" /> |
---|
116 | <axis axis_ref="ensemble" /> |
---|
117 | </grid> |
---|
118 | |
---|
119 | <grid id="grid_YZW"> |
---|
120 | <axis axis_ref="domain_Y" /> |
---|
121 | <axis axis_ref="axis" /> |
---|
122 | <axis axis_ref="ensemble" /> |
---|
123 | </grid> |
---|
124 | |
---|
125 | |
---|
126 | |
---|
127 | <grid id="other_grid3D"> |
---|
128 | <domain domain_ref="other_domain" /> |
---|
129 | <axis axis_ref="other_axis" /> |
---|
130 | </grid> |
---|
131 | |
---|
132 | <grid id="other_grid2D"> |
---|
133 | <domain domain_ref="other_domain" /> |
---|
134 | </grid> |
---|
135 | |
---|
136 | <grid id="other_grid1D"> |
---|
137 | <axis axis_ref="other_axis" /> |
---|
138 | </grid> |
---|
139 | |
---|
140 | <grid id="other_grid_X"> |
---|
141 | <axis axis_ref="other_domain_X" /> |
---|
142 | </grid> |
---|
143 | |
---|
144 | <grid id="other_grid_Y"> |
---|
145 | <axis axis_ref="other_domain_Y" /> |
---|
146 | </grid> |
---|
147 | |
---|
148 | <grid id="other_grid_XY"> |
---|
149 | <axis axis_ref="other_domain_X" /> |
---|
150 | <axis axis_ref="other_domain_Y" /> |
---|
151 | </grid> |
---|
152 | |
---|
153 | <grid id="other_grid_XYZ"> |
---|
154 | <axis axis_ref="other_domain_X" /> |
---|
155 | <axis axis_ref="other_domain_Y" /> |
---|
156 | <axis axis_ref="other_axis" /> |
---|
157 | </grid> |
---|
158 | |
---|
159 | <grid id="other_grid_XZ"> |
---|
160 | <axis axis_ref="other_domain_X" /> |
---|
161 | <axis axis_ref="other_axis" /> |
---|
162 | </grid> |
---|
163 | |
---|
164 | <grid id="other_grid_YZ"> |
---|
165 | <axis axis_ref="other_domain_Y" /> |
---|
166 | <axis axis_ref="other_axis" /> |
---|
167 | </grid> |
---|
168 | |
---|
169 | |
---|
170 | <grid id="other_grid3D_W"> |
---|
171 | <domain domain_ref="other_domain" /> |
---|
172 | <axis axis_ref="other_axis" /> |
---|
173 | <axis axis_ref="other_ensemble" /> |
---|
174 | </grid> |
---|
175 | |
---|
176 | <grid id="other_grid2D_W"> |
---|
177 | <domain domain_ref="other_domain" /> |
---|
178 | <axis axis_ref="other_ensemble" /> |
---|
179 | </grid> |
---|
180 | |
---|
181 | <grid id="other_grid1D_W"> |
---|
182 | <axis axis_ref="other_axis" /> |
---|
183 | <axis axis_ref="other_ensemble" /> |
---|
184 | </grid> |
---|
185 | |
---|
186 | <grid id="other_grid_XW"> |
---|
187 | <axis axis_ref="other_domain_X" /> |
---|
188 | <axis axis_ref="other_ensemble" /> |
---|
189 | </grid> |
---|
190 | |
---|
191 | <grid id="other_grid_YW"> |
---|
192 | <axis axis_ref="other_domain_Y" /> |
---|
193 | <axis axis_ref="other_ensemble" /> |
---|
194 | </grid> |
---|
195 | |
---|
196 | <grid id="other_grid_XYW"> |
---|
197 | <axis axis_ref="other_domain_X" /> |
---|
198 | <axis axis_ref="other_domain_Y" /> |
---|
199 | <axis axis_ref="other_ensemble" /> |
---|
200 | </grid> |
---|
201 | |
---|
202 | <grid id="other_grid_XYZW"> |
---|
203 | <axis axis_ref="other_domain_X" /> |
---|
204 | <axis axis_ref="other_domain_Y" /> |
---|
205 | <axis axis_ref="other_axis" /> |
---|
206 | <axis axis_ref="other_ensemble" /> |
---|
207 | </grid> |
---|
208 | |
---|
209 | <grid id="other_grid_XZW"> |
---|
210 | <axis axis_ref="other_domain_X" /> |
---|
211 | <axis axis_ref="other_axis" /> |
---|
212 | <axis axis_ref="other_ensemble" /> |
---|
213 | </grid> |
---|
214 | |
---|
215 | <grid id="other_grid_YZW"> |
---|
216 | <axis axis_ref="other_domain_Y" /> |
---|
217 | <axis axis_ref="other_axis" /> |
---|
218 | <axis axis_ref="other_ensemble" /> |
---|
219 | </grid> |
---|
220 | |
---|
221 | |
---|
222 | </grid_definition> |
---|
223 | |
---|
224 | |
---|
225 | <field_definition level="1" prec="8" operation="instant" freq_op="1ts" enabled=".true." default_value="1.e+20" detect_missing_value="true"> |
---|
226 | <field id="field2D" grid_ref="grid2D" /> |
---|
227 | <field id="field3D" grid_ref="grid3D" /> |
---|
228 | <field id="pressure" grid_ref="grid3D" /> |
---|
229 | <field id="field3D_recv" read_access="true" grid_ref="grid3D" field_ref="field3D" /> |
---|
230 | <field id="field3D_resend" grid_ref="grid3D" /> |
---|
231 | |
---|
232 | <field id="field_X" grid_ref="grid_X" /> |
---|
233 | <field id="field_Y" grid_ref="grid_Y" /> |
---|
234 | <field id="field_Z" grid_ref="grid1D" /> |
---|
235 | <field id="field_XY" grid_ref="grid_XY" /> |
---|
236 | <field id="field_XYZ" grid_ref="grid_XYZ" /> |
---|
237 | <field id="field_XZ" grid_ref="grid_XZ" /> |
---|
238 | <field id="field_YZ" grid_ref="grid_YZ" /> |
---|
239 | |
---|
240 | |
---|
241 | <field id="field2D_W" grid_ref="grid2D_W"/> |
---|
242 | <field id="field3D_W" grid_ref="grid3D_W" /> |
---|
243 | <field id="pressure_W" grid_ref="grid3D_W" /> |
---|
244 | <field id="field3D_recv_W" read_access="true" grid_ref="grid3D_W" field_ref="field3D_W"/> |
---|
245 | <field id="field3D_resend_W" grid_ref="grid3D_W" /> |
---|
246 | |
---|
247 | <field id="field_XW" grid_ref="grid_XW" /> |
---|
248 | <field id="field_YW" grid_ref="grid_YW" /> |
---|
249 | <field id="field_ZW" grid_ref="grid1D_W" /> |
---|
250 | <field id="field_XYW" grid_ref="grid_XYW" /> |
---|
251 | <field id="field_XYZW" grid_ref="grid_XYZW" /> |
---|
252 | <field id="field_XZW" grid_ref="grid_XZW" /> |
---|
253 | <field id="field_YZW" grid_ref="grid_YZW" /> |
---|
254 | |
---|
255 | |
---|
256 | <field id="other_field2D" grid_ref="other_grid2D"/> |
---|
257 | <field id="other_field3D" grid_ref="other_grid3D" /> |
---|
258 | <field id="other_pressure" grid_ref="other_grid3D" /> |
---|
259 | <field id="other_field3D_recv" read_access="true" grid_ref="other_grid3D" field_ref="other_field3D"/> |
---|
260 | <field id="other_field3D_resend" grid_ref="other_grid3D" /> |
---|
261 | |
---|
262 | <field id="other_field_X" grid_ref="other_grid_X" /> |
---|
263 | <field id="other_field_Y" grid_ref="other_grid_Y" /> |
---|
264 | <field id="other_field_Z" grid_ref="other_grid1D" /> |
---|
265 | <field id="other_field_XY" grid_ref="other_grid_XY" /> |
---|
266 | <field id="other_field_XYZ" grid_ref="other_grid_XYZ" /> |
---|
267 | <field id="other_field_XZ" grid_ref="other_grid_XZ" /> |
---|
268 | <field id="other_field_YZ" grid_ref="other_grid_YZ" /> |
---|
269 | |
---|
270 | <field id="other_field2D_W" grid_ref="other_grid2D_W"/> |
---|
271 | <field id="other_field3D_W" grid_ref="other_grid3D_W" /> |
---|
272 | <field id="other_pressure_W" grid_ref="other_grid3D_W" /> |
---|
273 | <field id="other_field3D_recv_W" read_access="true" grid_ref="other_grid3D_W" field_ref="other_field3D_W"/> |
---|
274 | <field id="other_field3D_resend_W" grid_ref="other_grid3D_W" /> |
---|
275 | |
---|
276 | <field id="other_field_XW" grid_ref="other_grid_XW" /> |
---|
277 | <field id="other_field_YW" grid_ref="other_grid_YW" /> |
---|
278 | <field id="other_field_ZW" grid_ref="other_grid1D_W" /> |
---|
279 | <field id="other_field_XYW" grid_ref="other_grid_XYW" /> |
---|
280 | <field id="other_field_XYZW" grid_ref="other_grid_XYZW" /> |
---|
281 | <field id="other_field_XZW" grid_ref="other_grid_XZW" /> |
---|
282 | <field id="other_field_YZW" grid_ref="other_grid_YZW" /> |
---|
283 | |
---|
284 | |
---|
285 | |
---|
286 | </field_definition> |
---|
287 | |
---|
288 | |
---|
289 | |
---|
290 | <!-- implementation of specifics test case --> |
---|
291 | <!-- simplest test cases : output data to file --> |
---|
292 | |
---|
293 | |
---|
294 | |
---|
295 | <file_definition type="one_file" > |
---|
296 | |
---|
297 | <file id="atm_output" output_freq="1ts" type="one_file" enabled="true"> |
---|
298 | <field field_ref="field3D" /> |
---|
299 | <field field_ref="field2D" /> |
---|
300 | <field field_ref="field_X" /> |
---|
301 | <field field_ref="field_Y" /> |
---|
302 | <field field_ref="field_XY" /> |
---|
303 | <field field_ref="field_Z" /> |
---|
304 | <field field_ref="field_XYZ" /> |
---|
305 | <field field_ref="field_XZ" /> |
---|
306 | <field field_ref="field_YZ" /> |
---|
307 | <field field_ref="pressure" /> |
---|
308 | <field field_ref="field3D_resend" /> |
---|
309 | </file> |
---|
310 | |
---|
311 | <file id="atm_output_other" output_freq="1ts" type="one_file" enabled="true"> |
---|
312 | <field field_ref="other_field3D" /> |
---|
313 | <field field_ref="other_field2D" /> |
---|
314 | <field field_ref="other_field_X" /> |
---|
315 | <field field_ref="other_field_Y" /> |
---|
316 | <field field_ref="other_field_XY" /> |
---|
317 | <field field_ref="other_field_Z" /> |
---|
318 | <field field_ref="other_field_XYZ" /> |
---|
319 | <field field_ref="other_field_XZ" /> |
---|
320 | <field field_ref="other_field_YZ" /> |
---|
321 | <field field_ref="other_pressure" /> |
---|
322 | <field field_ref="other_field3D_resend" /> |
---|
323 | </file> |
---|
324 | |
---|
325 | <file id="atm_output_W" output_freq="1ts" enabled="true"> |
---|
326 | <field field_ref="field3D_W" /> |
---|
327 | <field field_ref="field2D_W" /> |
---|
328 | <field field_ref="field_XW" /> |
---|
329 | <field field_ref="field_YW" /> |
---|
330 | <field field_ref="field_XYW" /> |
---|
331 | <field field_ref="field_ZW" /> |
---|
332 | <field field_ref="field_XYZW" /> |
---|
333 | <field field_ref="field_XZW" /> |
---|
334 | <field field_ref="field_YZW" /> |
---|
335 | </file> |
---|
336 | |
---|
337 | |
---|
338 | </file_definition> |
---|
339 | |
---|
340 | |
---|
341 | </context> |
---|