有効な木のノード半サイズを返す。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(fmm_plan_type), | intent(in) | :: | plan |
FMM 計画。 |
||
| logical, | intent(in) | :: | use_target_tree |
target 木を使うなら |
||
| integer(kind=i32), | intent(in) | :: | node_idx |
ノード番号。 |
pure function active_tree_node_half_size(plan, use_target_tree, node_idx) result(half_size) type(fmm_plan_type), intent(in) :: plan logical, intent(in) :: use_target_tree integer(i32), intent(in) :: node_idx real(dp) :: half_size(3) if (use_target_tree) then half_size = plan%target_node_half_size(:, node_idx) else half_size = plan%node_half_size(:, node_idx) end if end function active_tree_node_half_size