有効な木のノード中心座標を返す。
| 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_center(plan, use_target_tree, node_idx) result(center) type(fmm_plan_type), intent(in) :: plan logical, intent(in) :: use_target_tree integer(i32), intent(in) :: node_idx real(dp) :: center(3) if (use_target_tree) then center = plan%target_node_center(:, node_idx) else center = plan%node_center(:, node_idx) end if end function active_tree_node_center