設定型のヘルパー関数。パーサに依存せず下位層から利用可能。
6面名に対応する有効粒子境界作用を返す。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=i32), | intent(in) | :: | boundary_low(3) | |||
| integer(kind=i32), | intent(in) | :: | boundary_high(3) | |||
| character(len=*), | intent(in) | :: | face |
粒子種設定から有効粒子数密度 [1/m^3] を計算する。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(particle_species_spec), | intent(in) | :: | spec |
粒子種設定から有効温度 [K] を計算する。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(particle_species_spec), | intent(in) | :: | spec |
注入面識別子から法線軸と対応境界座標を返す。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | box_min(3) | |||
| real(kind=dp), | intent(in) | :: | box_max(3) | |||
| character(len=*), | intent(in) | :: | inject_face | |||
| integer, | intent(out) | :: | axis | |||
| real(kind=dp), | intent(out) | :: | boundary_value |
注入面識別子から内向き法線ベクトルを返す。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | inject_face | |||
| real(kind=dp), | intent(out) | :: | inward_normal(3) |
domain topology、global既定、粒子種overrideから有効な粒子境界を解決する。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(sim_config), | intent(in) | :: | sim | |||
| integer(kind=i32), | intent(in) | :: | global_low(3) | |||
| integer(kind=i32), | intent(in) | :: | global_high(3) | |||
| type(particle_species_spec), | intent(in) | :: | spec | |||
| integer(kind=i32), | intent(out) | :: | boundary_low(3) | |||
| integer(kind=i32), | intent(out) | :: | boundary_high(3) |