関数TF_write_force_disribution マニュアル

(The documentation of function TF_write_force_disribution)

Last Update: 2025/1/7


◆機能・用途(Purpose)

等価体積力を位置の関数と時間の関数の積の重ね合わせで表したときの 位置の関数の空間分布を出力する。
Output the spatial distribution of a position function when the equivalent body force is expressed as a summation of products of position and time functions.


◆形式(Format)

#include "waterPML_sub/write.h"
inline void TF_write_force_disribution
(const struct waterPML_parameters parameters,
 const struct TF_index_f_compressed index_f,
 const char ∗variable_name,const int iv,const double ∗v)


◆引数(Arguments)

parameters 関数 TF_set_parameters, TF_read_stations, TF_count_snapshot によってメンバの値の設定を済ませた構造体。
A structure whose members were set by functions TF_set_parameters, TF_read_stations, and TF_count_snapshot.
index_f 関数TF_set_f_index によってメンバの値を設定した構造体。
A structure whose values of members have been set by function TF_set_f_index.
variable_name 出力する量の名前。 出力ファイル名 における1つ目と2つ目の「.」の間の文字列を指定する。
Name of the quantity to output; specify the string between the 1st and 2nd periods (.) in the output file name.
iv 変数番号
An index of variable.
f 等価体積力を位置の関数として並べた配列。
An array composed of the equivalent body forces as a function of location.


◆動作(Behaviour)

引数fで与える配列を位置の関数として このファイル に出力する。
Output the array given by argument f into this file as a function of location.