doubleArrayBaseType Complex Type |
Array with semicolon separated values of type double
Namespace: Empty
Schema: Empty
Item | Facet Value | Description |
---|---|---|
string | ||
Pattern | ((\s+)?[-+]?(\d+)?(\.)?(\d+)?(([eE][-+]?)?\d+)?(\s+)?|(\s+)?(NaN)(\s+)?)(;(((\s+)?[-+]?(\d+)?(\.)?(\d+)?(([eE][-+]?)?\d+)?(\s+)?)|(\s+)?(NaN)(\s+)?))* |
Name | Type | Required | Description |
---|---|---|---|
externalDataDirectory | string | ||
externalDataNodePath | string | ||
externalFileName | string | ||
mapType | string |
In CPACS arrays are used to exchange values in full-factorial parameter spaces, for example to describe the aerodynamic coefficients depending on Mach number and altitude.
Thus, the dimensions of the array are spanned by the input vectors. See the following example where two input vectors are defined. For clarification the entries of the array result from the multiplication of the index values of the corresponding input vectors:
<inputVector1>1;2;3</inputVector1> <inputVector2>4;5;6;7</inputVector2>
<array>4;5;6;7;8;10;12;14;12;15;18;21</array>
Any entries of type double separated by semicolons are valid, e.g.:
<doubleArrayTest>123.456;+123.456;-1.234e56;-.45E-6;NaN;0</doubleArrayTest>
<doubleArrayTest>123.456</doubleArrayTest>
<doubleArrayTest>123.456,+1234.456</doubleArrayTest>
<doubleArrayTest>123.456;mainWingUID</doubleArrayTest>
<doubleArrayTest>1234.4E 56;-1.234e5.6</doubleArrayTest>
Please note that the syntax of arrays in the current CPACS version correspond exactly to the syntax of vectors. There is no special character indicating the dimensions. Thus, the input vectors have to be determined from the documentation of the corresponding elements and splitting of the one-dimensional vector has to be done manually.
© 2023 Deutsches Zentrum für Luft- und Raumfahrt e.V. Institute of System Architectures in Aeronautics Imprint Privacy Terms of use Accessibility