waterPMLコマンドの出力ファイル
半格子点の属性
(Output files of waterPML command —
the attributes of half-grid nodes)
waterPMLコマンドでは食い違い格子を用いており、
格子セルサイズの半分の間隔で何らかの変数が定義される場所がある。
これらの場所を総称して
半格子点
と呼んでいる。
それぞれの半格子点が格子セルの中心か境界か、固体/水/真空のいずれか、
などの属性は
typeという名前の文字配列
によって内部的に表現しており、
このファイルにはそれらの属性の一覧表が出力される。
Because the waterPML command uses a staggered-grid system,
points where some variable is defined
are distributed at every half grid cell size.
These points are named
half-grid nodes.
The attributes of each half-grid node
(for example, whether it is at the center or boundary of a grid cell;
whether the material of the cell is solid, water, or vacuum)
are stored internally in
an array of characters named type.
Full list of these attributes are recorded in this file.
- パラメータoutputdirで指定したディレクトリの下に
parameters/type.logのファイル名で出力される。
The output file name is parameters/type.log
and created under the directory
specified by parameter outputdir.
- 1行につき1つの半格子点の属性が
「n[0]=値,n[1]=値,n[2]=値,ig=値,type=値」
の形式で出力される。
ここでn[0], n[1], n[2]は
半格子点の方向別インデックス、
igは
半格子点の通し番号
であり、「type=値」の欄には
その地点での8つの属性type[0][ig]-type[7][ig]
(
2次元配列typeの説明参照)
を並べた8文字が出力される。
Each line represents the attributes of a half-grid node and has a format
“n[0]=value,n[1]=value,n[2]=value,ig=value,type=value”.
Here, n[0], n[1], and n[2] are
the directional indices of a half-grid node;
ig is
the consecutive index of the same node;
and the value to be written
into the “type=value” field
is the eight characters (attributes)
from type[0][ig] to type[7][ig];
see
the description for a 2-D array type.
- パラメータuse_prevの値をyesにした場合には
既存のファイルへの追加書き込みとなる。
この場合、その区切りには以下の2行が出力される。
If the value of parameter use_prev is yes,
this data is added to an existing file.
In this case, the two lines shown below separates
individual runs of computations.