シミュレーションボックス境界(流出/反射/周期)を適用するモジュール。
1ステップの更新候補位置にボックス境界条件を適用し、生存/流出状態と位置速度を更新する。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(sim_config), | intent(in) | :: | cfg |
境界条件とボックス範囲を含むシミュレーション設定。 |
||
| real(kind=dp), | intent(inout) | :: | x(3) | |||
| real(kind=dp), | intent(inout) | :: | v(3) | |||
| logical, | intent(inout) | :: | alive |
粒子生存フラグ(流出時は |
||
| logical, | intent(out) | :: | escaped_boundary |
この呼び出しで境界流出が発生したか。 |