関数TF_set_structure_at_grid_edge マニュアル

(The documentation of function TF_set_structure_at_grid_edge)

Last Update: 2024/2/13


◆機能・用途(Purpose)

4つの格子セルが接する辺の中心点(物理領域内)での密度とラメ定数を設定する。
Set the densities and Lame constants at the center of each edge where four grid cells contact in the physical volume.


◆形式(Format)

#include "waterPML_sub/set_structure.h"
inline void TF_set_structure_at_grid_edge
(const struct grid stg,const struct waterPML_parameters parameters,
 double ∗rho,double ∗lambda,double ∗mu)


◆引数(Arguments)

stg 関数 TF_initialize_stg, TF_set_rho_index, TF_set_lambda_index, TF_set_mu_index によって値を設定した構造体。
A structure whose values have been given by functions TF_initialize_stg, TF_set_rho_index, TF_set_lambda_index, and TF_set_mu_index.
parameters 関数TF_set_parameters によってメンバの値の設定を済ませた構造体。
A structure whose members were set by function TF_set_parameters.
rho 関数TF_set_rho_index によって動的メモリを確保し、関数 TF_set_structure_at_grid_center, TF_set_structure_at_grid_surface によって格子セル中心点および 2つの格子セルが接する面の中心点(物理領域内)での 密度を設定した配列。 この関数内で4つの格子セルが接する辺の中心点(物理領域内)での 密度に対応する配列要素の値が設定される。
An array whose dynamic memory has been allocated using function TF_set_rho_index and whose values (the densities) for the centers of grid cells and the centers of planes where two grid cells contact in the physical volume have been determined using functions TF_set_structure_at_grid_center and TF_set_structure_at_grid_surface. The values of the array components corresponding to the densities at the centers of edges where four grid cells contact in the physical volume are determined in this function.
lambda 関数TF_set_lambda_index によって動的メモリを確保し、 関数 TF_set_structure_at_grid_center, TF_set_structure_at_grid_surface によって格子セル中心点および 2つの格子セルが接する面の中心点(物理領域内)での ラメ定数\(\lambda\)を設定した配列。 この関数内で4つの格子セルが接する辺の中心点(物理領域内)での \(\lambda\)に対応する配列要素の値が設定される。
An array whose dynamic memory has been allocated using function TF_set_lambda_index and whose values (the Lame constants \(\lambda\)) for the centers of grid cells and the centers of planes where two grid cells contact in the physical volume have been determined using functions TF_set_structure_at_grid_center and TF_set_structure_at_grid_surface. The values of the array components corresponding to \(\lambda\) at the centers of edges where four grid cells contact in the physical volume are determined in this function.
mu 関数TF_set_mu_index によって動的メモリを確保し、 関数 TF_set_structure_at_grid_center, TF_set_structure_at_grid_surface によって格子セル中心点および 2つの格子セルが接する面の中心点(物理領域内)での ラメ定数\(\mu\)を設定した配列。 この関数内で4つの格子セルが接する辺の中心点(物理領域内)での \(\mu\)に対応する配列要素の値が設定される。
An array whose dynamic memory has been allocated using function TF_set_mu_index and whose values (the Lame constants \(\mu\)) for the centers of grid cells and the centers of planes where two grid cells contact in the physical volume have been determined using functions TF_set_structure_at_grid_center and TF_set_structure_at_grid_surface. The values of the array components corresponding to \(\mu\) at the centers of edges where four grid cells contact in the physical volume are determined in this function.


◆動作(Behaviour)

引数rho, lambda, muの配列要素の値 (物理領域内の4つの格子セルが接する辺の中心点に対応する配列要素) を設定する。 その値は周囲の4つの格子セル中心点での値の平均 (但し、4つのセル全てで定義されていない場合は定義されている値の平均) とする。
Determine the values of array components of arguments rho, lambda, and mu (for the array components corresponding to the center of each edge where four grid cells contact in the physical volume). The value to be set for each half-grid node is the average of the values at the centers of the four grid cells that sorround the target node; if the value is not defined at the centers of some of the surrounding grid cells, only the available values are averaged.