CSV速度grid reservoirの読込、補間、sampling。
速度グリッド分布から reservoir_face 粒子をサンプルする。
velocity_grid_pdf_kind="phase_space" では max(v_n,0) f(v) で流入粒子を選び、
"flux_weighted" では入力 f を流入粒子分布として扱う。
| 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 | |||
| real(kind=dp), | intent(in) | :: | pos_low(3) | |||
| real(kind=dp), | intent(in) | :: | pos_high(3) | |||
| character(len=*), | intent(in) | :: | velocity_grid_path | |||
| character(len=*), | intent(in) | :: | velocity_grid_pdf_kind | |||
| real(kind=dp), | intent(in) | :: | batch_duration | |||
| real(kind=dp), | intent(out) | :: | x(:,:) | |||
| real(kind=dp), | intent(out) | :: | v(:,:) | |||
| real(kind=dp), | intent(in), | optional | :: | barrier_normal_energy | ||
| real(kind=dp), | intent(in), | optional | :: | vmin_normal | ||
| real(kind=dp), | intent(in), | optional | :: | position_jitter_dt | ||
| logical, | intent(in), | optional | :: | apply_barrier_energy_shift | ||
| character(len=*), | intent(in), | optional | :: | velocity_grid_sampling |
最初の読込み結果をpathごとに固定し、同一runのsamplingとfingerprintで共有する。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | path | |||
| real(kind=dp), | intent(out), | allocatable | :: | grid_v(:,:) | ||
| real(kind=dp), | intent(out), | allocatable | :: | f(:) |
独立runを同一processで開始するtest/support用途にsnapshot cacheを解放する。