create_tws_source_config_randomコマンド専用のヘッダファイル

(Header files exclusively used by create_tws_source_config_random command)

Last Update : 2024/12/24


1. 概要 (Overview)

ymaeda_opentoolsでは全てのプログラムで共通に使用するヘッダファイルを $YMAEDA_OPENTOOL_DIR/include の下に置いており、そのマニュアルは ここにある。
Header files commonly used by all programs of ymaeda_opentools are located under $YMAEDA_OPENTOOL_DIR/include, and the documentations for these header files are available from this link.

create_tws_source_config_randomコマンドではそれ以外に、 このプログラム専用のヘッダファイルを用いている。 それらは $YMAEDA_OPENTOOL_DIR/opentws/src/create_tws_source_config_random_sub の下に置いてある。 ymaeda_opentools全体の共通ヘッダファイルと同様に 「特殊なヘッダファイル」と「通常のヘッダファイル」がある。
In addition, create_tws_source_config_random command uses header files exclusively used by this program. These header files are located under $YMAEDA_OPENTOOL_DIR/opentws/src/create_tws_source_config_random_sub. There are two classes of header files, “special” and “normal” ones; this feature is same as header files common to the entire ymaeda_opentools.

create_tws_source_config_randomコマンド専用の関数や構造体は名前が全て「TF_」から始まる。 これはThis Fileの頭文字を取ったものであり、 ymaeda_opentools全体で共通に使用する関数や構造体との 名前の重複を避けるために付けている。
The names of all functions and structures exclusively used by create_tws_source_config_random command begin with “TF_”, which means “This File”, to avoid confliction of the names against functions and structures that are used commonly in the entire ymaeda_opentools.


2. 個々のヘッダファイルのマニュアル (Documentations for individual header files)

以下はcreate_tws_source_config_randomコマンド専用のヘッダファイルのマニュアルである。 ヘッダファイル名は全て $YMAEDA_OPENTOOL_DIR/opentws/src の下での相対パスを表す。 リンクをクリックすると各ヘッダファイルのマニュアルを閲覧できる。
The documentations for header files exclusively used create_tws_source_config_random command are shown below. All header files represent relative paths under $YMAEDA_OPENTOOL_DIR/opentws/src. Documentations for individual header files are available from the links.

◆特殊なヘッダファイル (Special header files)

ヘッダファイル名
Header file name
機能・用途
Purpose
create_tws_source_config_random_sub/index.h 他のcreate_tws_source_config_randomコマンド専用ヘッダファイル一式を インクルードするためのヘッダファイル。
A header file to include all other header files exclusively used by create_tws_source_config_random command.
create_tws_source_config_random_sub/structure.h create_tws_source_config_randomコマンド専用の構造体の定義。
Definitions of structures exclusively used by create_tws_source_config_random command.
create_tws_source_config_random_sub/prototype.h create_tws_source_config_randomコマンド専用の関数のプロトタイプ。
Prototypes of functions exclusively used by create_tws_source_config_random command.

◆通常のヘッダファイル (Normal header files)

ヘッダファイル名
Header file name
機能・用途
Purpose
create_tws_source_config_random_sub/check_parameters.h パラメータのチェックを行う関数。
Functions to check parameters.
create_tws_source_config_random_sub/set_parameters.h パラメータの設定を行う関数。
Functions to set parameters.
create_tws_source_config_random_sub/source_location.h 地震波動ソースの位置を設定する関数。
Functions to determine the location of a seismic wave source.
create_tws_source_config_random_sub/write.h ファイルを出力する関数。
Functions to output a file.


3. 関数の呼び出し構造

create_tws_source_config_randomコマンドのソースコードにおいて、 関数は以下のように呼び出される。 これは関数の索引にもなっており、 関数名をクリックすると直接その関数のマニュアルを閲覧できる。
In the source code of create_tws_source_config_random command, functions are called with the tree shown below. This tree can be used for an index of functions; documentations of individual functions are available from the links of the function names.

main (create_tws_source_config_random.c)