For large data sets (e.g. increments of aerodynamic coefficients due to control surface deflections) it is advantageous to map them via vectors and arrays instead of using a sequence of nodes for each data value. Therefore vectors and arrays are defined as semicolon-separated lists in CPACS. Via the documentation (derived from the XSD) of the corresponding nodes it has to be checked whether it is a vector or an array.
The vector is meant as a one-dimensional-array. In such a node, the values are given in a semicolon separated list:
<angleOfAttack>0.;1.5;3.;4.5;6;7.5;9.</angleOfAttack>As for vectors, multi-dimensional arrays provide values in a semicolon separated list. An array is always preceded by a sequence of vectors, containing the dimensions and index values. Which vectors of an array are dimensioning is specified in the respective documentation of the array.
<altitude>1000.;2000.;3000.</altitude> <!-- vector element -->
<incrementMaps>
<incrementMap uID="incMap_b3ac2">
<controlSurfaceUID>InnerWingFlap</controlSurfaceUID>
<controlParameters>-1;-0.5;0;1</controlParameters> <!-- vector element -->
<!-- array of dimension length(altitude) x length(controlParameters): -->
<dcl>11.;12.;13.;14.;21.;22.;23.;24.;31.;32.;33.;34.</dcl>
...
</incrementMap>
</incrementMaps>| Control parameter = -1 | Control parameter = -0.5 | Control parameter = 0 | Control parameter = 1 | |
| Altitude = 1000m | 11. | 12. | 13. | 14. |
| Altitude = 2000m | 21. | 22. | 23. | 24. |
| Altitude = 3000m | 31. | 32. | 33. | 34. |