Changeset 1084 for XIOS/trunk/doc/inputs/user/Axis.lyx
- Timestamp:
- 04/10/17 18:46:02 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/doc/inputs/user/Axis.lyx
r797 r1084 1 #LyX 2. 1created this file. For more info see http://www.lyx.org/2 \lyxformat 4741 #LyX 2.2 created this file. For more info see http://www.lyx.org/ 2 \lyxformat 508 3 3 \begin_document 4 4 \begin_header 5 \save_transient_properties true 6 \origin unavailable 5 7 \textclass book 6 8 \use_default_options true … … 11 13 \inputencoding auto 12 14 \fontencoding global 13 \font_roman default14 \font_sans default15 \font_typewriter default16 \font_math auto15 \font_roman "default" "default" 16 \font_sans "default" "default" 17 \font_typewriter "default" "default" 18 \font_math "auto" "auto" 17 19 \font_default_family default 18 20 \use_non_tex_fonts false 19 21 \font_sc false 20 22 \font_osf false 21 \font_sf_scale 100 22 \font_tt_scale 100 23 \font_sf_scale 100 100 24 \font_tt_scale 100 100 23 25 \graphics default 24 26 \default_output_format default … … 209 211 The axis with implicit id can only be used inside the scope where it is 210 212 defined, it can not be referenced, nor be processed. 211 It is rareto define an axis without id inside axis_definition.213 It is useless to define an axis without id inside axis_definition. 212 214 213 215 \end_layout … … 267 269 268 270 \begin_layout Standard 269 Like domain, there are several transformation which can be defined with 270 configuration file. 271 Like domain, transformation which can be defined inside an axis. 271 272 All transformations on an axis have form *_axis. 272 273 \end_layout 274 275 \begin_layout Standard 276 Till now, XIOS supports the following transformation on axis: 277 \end_layout 278 279 \begin_layout Itemize 280 zoom_axis: Like zoom functionality in XIOS 1.0, the destination grid is the 281 zoomed region of the source grid. 282 \end_layout 283 284 \begin_layout Itemize 285 interpolation_axis: Implement interpolation from an axis to one another. 286 For now, only polynominal interpolation is available. 287 \end_layout 288 289 \begin_layout Itemize 290 inverse_axis: Inverse an axis 291 \end_layout 292 293 \begin_layout Standard 294 It is not difficult to define a transformation: Include type of transformation 295 inside axis definition, as the following 296 \end_layout 297 298 \begin_layout Standard 299 \begin_inset listings 300 lstparams "language=XML,breaklines=true,tabsize=2,frame=tb,postbreak={\raisebox{0ex}[0ex][0ex]{\ensuremath{\rcurvearrowse\space}}}" 301 inline false 302 status open 303 304 \begin_layout Plain Layout 305 306 <axis_definition> 307 \end_layout 308 309 \begin_layout Plain Layout 310 311 <axis id="axis_A" /> 312 \end_layout 313 314 \begin_layout Plain Layout 315 316 <axis id="axis_A_zoom" axis_ref="axis_A"> 317 \end_layout 318 319 \begin_layout Plain Layout 320 321 <zoom_axis zoom_begin="1" zoom_n="3"/> 322 \end_layout 323 324 \begin_layout Plain Layout 325 326 </axis> 327 \end_layout 328 329 \begin_layout Plain Layout 330 331 </axis_definition> 332 \end_layout 333 334 \end_inset 335 336 337 \end_layout 338 339 \begin_layout Standard 340 The concrete example is translated as: the axis named axis_A_zoom is transformed 341 from axis name axis_A with a zoom activity. 342 The detailed attributes of zoom_axis can be found in reference document, 343 but simply it contains the begining and size of zoomed region. 344 \end_layout 345 346 \begin_layout Standard 347 One remark is the transformed axis SHOULD have an id, in this case, it's 348 axis_A_zoom. 349 As mentioned before, a no-id axis or any no-id component of XIOS can only 350 be used inside its definition scope. 351 \end_layout 352 353 \begin_layout Standard 354 To make use of transformation, the grid must contain axis which references 355 to transformed ones. 356 357 \end_layout 358 359 \begin_layout Standard 360 \begin_inset listings 361 lstparams "language=XML,breaklines=true,tabsize=2,frame=tb,postbreak={\raisebox{0ex}[0ex][0ex]{\ensuremath{\rcurvearrowse\space}}}" 362 inline false 363 status open 364 365 \begin_layout Plain Layout 366 367 <grid id="grid_A"> 368 \end_layout 369 370 \begin_layout Plain Layout 371 372 <axis axis_ref="axis_A" /> 373 \end_layout 374 375 \begin_layout Plain Layout 376 377 </grid> 378 \end_layout 379 380 \begin_layout Plain Layout 381 382 <grid id="grid_A_zoom"> 383 \end_layout 384 385 \begin_layout Plain Layout 386 387 <axis axis_ref="axis_A_zoom" /> 388 \end_layout 389 390 \begin_layout Plain Layout 391 392 </grid> 393 \end_layout 394 395 \end_inset 396 397 398 \end_layout 399 400 \begin_layout Standard 401 On defining this way, we tell XIOS to establish a connection between two 402 grids by a transformation (zoom) with: grid source - grid_A, grid destination 403 - grid_A_zoom. 404 \end_layout 405 406 \begin_layout Standard 407 As mentioned in Grid Chapter, in order to use transformed grid, just reference 408 to it in field_definition 409 \end_layout 410 411 \begin_layout Standard 412 \begin_inset listings 413 lstparams "language=XML,breaklines=true,tabsize=2,frame=tb,postbreak={\raisebox{0ex}[0ex][0ex]{\ensuremath{\rcurvearrowse\space}}}" 414 inline false 415 status open 416 417 \begin_layout Plain Layout 418 419 <field_definition level="1" enabled=".TRUE." default_value="9.96921e+36"> 420 \end_layout 421 422 \begin_layout Plain Layout 423 424 <field id="field_A" operation="average" freq_op="3600s" grid_ref="grid_A" 425 /> 426 \end_layout 427 428 \begin_layout Plain Layout 429 430 <field id="field_A_zoom" operation="average" freq_op="3600s" grid_ref="grid_A 431 _zoom" /> 432 \end_layout 433 434 \begin_layout Plain Layout 435 436 </field_definition> 437 \end_layout 438 439 \end_inset 440 441 442 \end_layout 443 444 \begin_layout Standard 445 Although xml is helpful to define several configurations, it can not be 446 used to customize attributes of axis. 447 So it's the turn of Fortran interface. 273 See Chapter 274 \begin_inset CommandInset ref 275 LatexCommand ref 276 reference "chap:Transformation" 277 278 \end_inset 279 280 for more details. 448 281 \end_layout 449 282 … … 453 286 454 287 \begin_layout Standard 455 Although axis is not as complex eas domain, there are some mandatory attributes288 Although axis is not as complex as domain, there are some mandatory attributes 456 289 to define. 457 290 Different from precedent version, XIOS 2.0 supports distribution of data … … 570 403 571 404 \begin_layout Standard 572 Specify the begin ing and size of data on the local axis:405 Specify the beginning and size of data on the local axis: 573 406 \end_layout 574 407 … … 590 423 591 424 \begin_layout Standard 592 Although the valid data must be inside a local axis, it is not nec cessary425 Although the valid data must be inside a local axis, it is not necessary 593 426 for data to have same size. 594 427 In fact, data can have larger size than local axis. … … 623 456 624 457 \begin_layout Standard 625 Lo al data can be defined with:458 Local data can be defined with: 626 459 \end_layout 627 460
Note: See TracChangeset
for help on using the changeset viewer.