| 型 Type |
メンバ名 Name of member |
メンバの意味 Meaning of member |
| int | L | \(x\)方向の格子セルの個数。 The number of grid cells along the \(x\)-direction. |
| int | M | \(y\)方向の格子セルの個数。 The number of grid cells along the \(y\)-direction. |
| int | N | \(z\)方向の格子セルの個数。 The number of grid cells along the \(z\)-direction. |
| double ∗ | x | 格子点の\(x\)座標を昇順に並べた配列(要素数:\(L+1\))。 An array composed of the \(x\)-coordinates of \(L+1\) grid nodes in an ascending order. |
| double ∗ | y | 格子点の\(y\)座標を昇順に並べた配列(要素数:\(M+1\))。 An array composed of the \(y\)-coordinates of \(M+1\) grid nodes in an ascending order. |
| double ∗ | z | 格子点の\(z\)座標を昇順に並べた配列(要素数:\(N+1\))。 An array composed of the \(z\)-coordinates of \(N+1\) grid nodes in an ascending order. |
| 型 Type |
メンバ名 Name of member |
メンバの意味 Meaning of member |
| struct irregular3Dnodes ∗ | nodes | 格子点配置を表す構造体。
同一の格子点配置を複数のデータセットで用いることを想定し、
メモリの節約やデータセット間での格子点配置の整合性チェックの手間を減らすため
外部で定義した格子点配置データへのアドレス参照としている。
例えば struct irregular3Dnodes node_locations; struct irregular3Ddata_node data1,data2; data1.nodes=&node_locations; data2.nodes=&node_locations; のように与えれば2つのデータセットdata1, data2に対して 格子点配置を表す共通の変数node_locationsを利用できる。 A structure that represents a configuration of grid nodes. The address of the structure defined outside is referred because the same configuration of grid nodes is supposed to be used for multiple datasets; the reference to the address reduces the requirements of memory and consistency checks for the configurations. For example, a common variable node_locations that represents a configuration of grid nodes can be shared by two datasets data1 and data2 as follows: struct irregular3Dnodes node_locations; struct irregular3Ddata_node data1,data2; data1.nodes=&node_locations; data2.nodes=&node_locations; |
| double ∗∗∗ | values | 各格子点での値を並べた3次元配列
(要素数:\((L+1)\times(M+1)\times(N+1)\))。 A 3-D array of \((L+1)\times(M+1)\times(N+1)\) components composed of the value at each grid node. |
| 型 Type |
メンバ名 Name of member |
メンバの意味 Meaning of member |
| struct irregular3Dnodes ∗ | nodes | 格子点配置を表す構造体。
アドレス渡しにしているのは
struct irregular3Ddata_node型構造体と同様の理由である。 A structure that represents a configuration of grid nodes. The address is used for the same reason to a struct irregular3Ddata_node-type structure. |
| double ∗∗∗ | values | 各格子セルでの値を並べた3次元配列
(要素数:\(L\times M\times N\))。 A 3-D array of \(L\times M\times N\) components composed of the value in each grid cell. |