periodic2 の 2 軸周期設定(周期軸と周期長)を検証付きで解決する。 mesh の collision 準備と field solver の初期化が同じ規則を使う。
fields.boundary="periodic2" なら周期軸 2 本と周期長を返す。それ以外は use_periodic2=.false.。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(sim_config), | intent(in) | :: | sim | |||
| logical, | intent(out) | :: | use_periodic2 | |||
| integer(kind=i32), | intent(out) | :: | periodic_axes(2) | |||
| real(kind=dp), | intent(out) | :: | periodic_len(2) |