関数TF_create_displacement_waveform マニュアル

(The documentation of function TF_create_displacement_waveform)

Last Update: 2024/12/27


◆機能・用途(Purpose)

特定の1つの変位成分の時系列データを作成する。
Create a time series data for the displacement of a given component.


◆形式(Format)

#include "WIHM_sub/calculation.h"
inline struct sequence TF_create_displacement_waveform
(const int size,const double t0,const double dt,
 const double rho,const double alpha,const double beta,
 const int Nsource,const struct tws_source ∗source,
 const struct columnvector ∗F,const struct matrix ∗M,
 const struct TF_stfun ∗stfun,
 const char ∗term,const double ∗x,const int n,
 const int verbose)


◆引数(Arguments)

size 作成する時系列データの時刻サンプル数。
The number of time samples of the time series data to create.
t0 作成する時系列データの先頭時刻 [s]。
The beginning time [s] of the time series data to create.
dt 作成する時系列データの時間刻み [s]。
The sampling interval [s] of the time series data to create.
rho 媒質の密度\(\rho\) [kg/m\(^3\)]。
The density, \(\rho\) [kg/m\(^3\)], of the medium.
alpha 媒質のP波速度\(\alpha\) [m/s]。
The P-wave velocity, \(\alpha\) [m/s], of the medium.
beta 媒質のS波速度\(\beta\) [m/s]。
The S-wave velocity, \(\beta\) [m/s], of the medium.
Nsource 地震波動ソースの個数。
The number of seismic wave sources.
source 地震波動ソースの設定を全てのソースについて並べた配列。
An array composed of the configurations of all seismic wave sources.
F 使用するシングルフォースソース\(\myvector{F}(t)\) の強度[N]を表す3次元ベクトルを 全ての地震波動ソースについて並べた配列。
An array composed of 3-D vectors, each of which represents the intensity [N] of the single force source \(\myvector{F}(t)\) to use.
M 使用するモーメントテンソルソース\(\myvector{M}(t)\) の強度[N m]を表す\(3\times 3\)の行列を 全ての地震波動ソースについて並べた配列。
An array composed of \(3\times 3\) matrices, each of which represents the intensity [N m] of the moment tensor source \(\myvector{M}(t)\) to use.
stfun 使用する震源時間関数を全ての地震波動ソースについて並べた配列。
An array composed of the source time functions of all seismic wave sources.
term 計算する項。コマンドライン引数で指定したパラメータtermの値。
Term to compute, given by parameter term of command-line arguments.
x 観測点座標\(\posx=(x_1,x_2,x_3)\) [m]の値を並べた配列。 x[0]\(=x_1\)、x[1]\(=x_2\)、x[2]\(=x_3\)である。
An array composed of the values of station location \(\posx=(x_1,x_2,x_3)\) [m]; x[0]\(=x_1\), x[1]\(=x_2\), and x[2]\(=x_3\).
n 計算したい変位成分の番号\(n\) [1-3]。
The displace component, \(n\), to compute [1-3].
verbose パラメータverboseの値。
The value of parameter verbose.


◆戻り値(Return value)

変位の\(n\)成分\(u_n(t)\)の時系列データ。
A time series data of \(u_n(t)\), which is the \(n\)th component of displacement.