有効な木の子ノードが属する八分木番号を返す。
| 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) | :: | child_k |
子の連番。 |
||
| integer(kind=i32), | intent(in) | :: | node_idx |
子の連番。 親ノード番号。 |
pure integer(i32) function active_tree_child_octant(plan, use_target_tree, child_k, node_idx) type(fmm_plan_type), intent(in) :: plan logical, intent(in) :: use_target_tree integer(i32), intent(in) :: child_k, node_idx if (use_target_tree) then active_tree_child_octant = plan%target_child_octant(child_k, node_idx) else active_tree_child_octant = plan%child_octant(child_k, node_idx) end if end function active_tree_child_octant