Table File Format
A table is an indexed array of pairs of floating-point numbers (denoted for convenience as x and y). Each table entry (or (x,y) pair) is also indexed (an integer in the range [1, 2, … , N], where N is the number of items in the table).
Each table has a unique ID number. In addition, each table also has a string label representing the table name, which can be used in place of the table ID for most commands that operate upon tables.
The first line of a table file is reserved for the table name. The second line is used to identify the number of points on the table, and the x-interval between points. Most commonly, this is set to 0.0, in which case the third and following lines are expected to contain (x,y) pairs. However, if a non-zero value is supplied, then a single column of y-values is supplied, where the x-value of the first item (in line 3) is assumed to be 0 and each succeeding x-value will add the value of the x-interval to the preceding x-value.
Table with 0.0 x-interval
(paired floats supplied)
UpBnd_Long UpBnd_Long
11 0.0
-5.500000e+01 -1.700000e-02
-4.500000e+01 -1.600000e-02
-3.500000e+01 -1.400000e-02
-2.500000e+01 -1.200000e-02
-1.500000e+01 -1.000000e-02
-5.000000e+00 -7.000000e-03
0.000000e+00 -5.000000e-03
5.000000e+00 -4.000000e-03
1.500000e+01 -2.000000e-03
2.500000e+01 -1.000000e-03
4.500000e+01 0.000000e+00
Table with x-interval of -2.4
(only y-values supplied)
The First Ten
10 -2.4
0
1
1
2
3
5
8
13
21
34
Was this helpful? ... | FLAC3D © 2019, Itasca | Updated: Feb 25, 2024 |