active_tree_child_count Function

public pure function active_tree_child_count(plan, use_target_tree, node_idx)

有効な木の指定ノードにある子ノード数を返す。

Arguments

Type IntentOptional Attributes Name
type(fmm_plan_type), intent(in) :: plan

FMM 計画。

logical, intent(in) :: use_target_tree

target 木を使うなら .true.

integer(kind=i32), intent(in) :: node_idx

ノード番号。

Return Value integer(kind=i32)


Called by

proc~~active_tree_child_count~~CalledByGraph proc~active_tree_child_count active_tree_child_count proc~core_build_plan_impl core_build_plan_impl proc~core_build_plan_impl->proc~active_tree_child_count proc~precompute_periodic_root_operator precompute_periodic_root_operator proc~core_build_plan_impl->proc~precompute_periodic_root_operator proc~core_eval_point_impl core_eval_point_impl proc~core_eval_point_impl->proc~active_tree_child_count proc~core_eval_points_impl core_eval_points_impl proc~core_eval_points_impl->proc~active_tree_child_count proc~core_eval_potential_point_impl core_eval_potential_point_impl proc~core_eval_potential_point_impl->proc~active_tree_child_count proc~core_eval_potential_points_impl core_eval_potential_points_impl proc~core_eval_potential_points_impl->proc~active_tree_child_count proc~precompute_periodic_root_operator->proc~active_tree_child_count

Source Code

  pure integer(i32) function active_tree_child_count(plan, use_target_tree, node_idx)
    type(fmm_plan_type), intent(in) :: plan
    logical, intent(in) :: use_target_tree
    integer(i32), intent(in) :: node_idx

    if (use_target_tree) then
      active_tree_child_count = plan%target_child_count(node_idx)
    else
      active_tree_child_count = plan%child_count(node_idx)
    end if
  end function active_tree_child_count