bem_coulomb_fmm_core Module

mesh_typesim_config に依存しない Coulomb FMM コア API。


Uses

  • module~~bem_coulomb_fmm_core~~UsesGraph module~bem_coulomb_fmm_core bem_coulomb_fmm_core module~bem_coulomb_fmm_types bem_coulomb_fmm_types module~bem_coulomb_fmm_core->module~bem_coulomb_fmm_types module~bem_kinds bem_kinds module~bem_coulomb_fmm_core->module~bem_kinds module~bem_coulomb_fmm_types->module~bem_kinds iso_fortran_env iso_fortran_env module~bem_kinds->iso_fortran_env

Used by

  • module~~bem_coulomb_fmm_core~~UsedByGraph module~bem_coulomb_fmm_core bem_coulomb_fmm_core module~bem_coulomb_fmm_core_build bem_coulomb_fmm_core_build module~bem_coulomb_fmm_core_build->module~bem_coulomb_fmm_core module~bem_coulomb_fmm_core_eval bem_coulomb_fmm_core_eval module~bem_coulomb_fmm_core_eval->module~bem_coulomb_fmm_core module~bem_coulomb_fmm_core_state bem_coulomb_fmm_core_state module~bem_coulomb_fmm_core_state->module~bem_coulomb_fmm_core module~bem_field_solver bem_field_solver module~bem_field_solver->module~bem_coulomb_fmm_core module~bem_field_solver_config bem_field_solver_config module~bem_field_solver_config->module~bem_coulomb_fmm_core module~bem_field_solver_config->module~bem_field_solver module~bem_field_solver_eval bem_field_solver_eval module~bem_field_solver_eval->module~bem_coulomb_fmm_core module~bem_field_solver_eval->module~bem_field_solver module~bem_field_solver_tree bem_field_solver_tree module~bem_field_solver_tree->module~bem_coulomb_fmm_core module~bem_field_solver_tree->module~bem_field_solver module~bem_simulator bem_simulator module~bem_simulator->module~bem_field_solver module~bem_simulator_io bem_simulator_io module~bem_simulator_io->module~bem_simulator module~bem_simulator_loop bem_simulator_loop module~bem_simulator_loop->module~bem_simulator module~bem_simulator_stats bem_simulator_stats module~bem_simulator_stats->module~bem_simulator program~main main program~main->module~bem_simulator

Interfaces

interface

  • public module subroutine build_plan(plan, src_pos, options)

    FMM 計画を構築する。

    Arguments

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

    構築先の計画。

    real(kind=dp), intent(in) :: src_pos(:,:)
    type(fmm_options_type), intent(in) :: options

    FMM 設定。

interface

  • public module subroutine update_state(plan, state, src_q)

    ソース電荷から FMM state を更新する。

    Arguments

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

    構築済みの FMM 計画。

    type(fmm_state_type), intent(inout) :: state

    更新対象の state。

    real(kind=dp), intent(in) :: src_q(:)

interface

  • public module subroutine eval_points(plan, state, target_pos, e)

    複数の評価点で電場を計算する。

    Arguments

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

    構築済みの FMM 計画。

    type(fmm_state_type), intent(inout) :: state

    評価に使う FMM state。

    real(kind=dp), intent(in) :: target_pos(:,:)
    real(kind=dp), intent(out) :: e(:,:)

interface

  • public module subroutine eval_point(plan, state, r, e)

    1 点で電場を計算する。

    Arguments

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

    構築済みの FMM 計画。

    type(fmm_state_type), intent(inout) :: state

    評価に使う FMM state。

    real(kind=dp), intent(in) :: r(3)
    real(kind=dp), intent(out) :: e(3)

interface

  • public module subroutine eval_potential_points(plan, state, target_pos, phi)

    複数の評価点で電位を計算する。

    Arguments

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

    構築済みの FMM 計画。

    type(fmm_state_type), intent(inout) :: state

    評価に使う FMM state。

    real(kind=dp), intent(in) :: target_pos(:,:)
    real(kind=dp), intent(out) :: phi(:)

interface

  • public module subroutine eval_potential_point(plan, state, r, phi)

    1 点で電位を計算する。

    Arguments

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

    構築済みの FMM 計画。

    type(fmm_state_type), intent(inout) :: state

    評価に使う FMM state。

    real(kind=dp), intent(in) :: r(3)
    real(kind=dp), intent(out) :: phi

    電位 [V](k_coulomb は含まない)。

interface

  • public module subroutine destroy_plan(plan)

    FMM 計画を解放する。

    Arguments

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

    解放対象の計画。

interface

  • public module subroutine destroy_state(state)

    FMM state を解放する。

    Arguments

    Type IntentOptional Attributes Name
    type(fmm_state_type), intent(inout) :: state

    解放対象の state。