bem_app_config_potential_runtime Module

粒子注入面とbox基準面の電位統計を評価する実行時変換。


Uses

  • module~~bem_app_config_potential_runtime~~UsesGraph module~bem_app_config_potential_runtime bem_app_config_potential_runtime ieee_arithmetic ieee_arithmetic module~bem_app_config_potential_runtime->ieee_arithmetic iso_fortran_env iso_fortran_env module~bem_app_config_potential_runtime->iso_fortran_env module~bem_app_config_types bem_app_config_types module~bem_app_config_potential_runtime->module~bem_app_config_types module~bem_config_helpers bem_config_helpers module~bem_app_config_potential_runtime->module~bem_config_helpers module~bem_constants bem_constants module~bem_app_config_potential_runtime->module~bem_constants module~bem_electrostatic_snapshot bem_electrostatic_snapshot module~bem_app_config_potential_runtime->module~bem_electrostatic_snapshot module~bem_kinds bem_kinds module~bem_app_config_potential_runtime->module~bem_kinds module~bem_string_utils bem_string_utils module~bem_app_config_potential_runtime->module~bem_string_utils module~bem_types bem_types module~bem_app_config_potential_runtime->module~bem_types module~bem_app_config_types->module~bem_kinds module~bem_app_config_types->module~bem_types module~bem_physics_config_types bem_physics_config_types module~bem_app_config_types->module~bem_physics_config_types module~bem_config_helpers->module~bem_app_config_types module~bem_config_helpers->module~bem_kinds module~bem_config_helpers->module~bem_string_utils module~bem_config_helpers->module~bem_types module~bem_constants->module~bem_kinds module~bem_electrostatic_snapshot->ieee_arithmetic module~bem_electrostatic_snapshot->module~bem_constants module~bem_electrostatic_snapshot->module~bem_kinds module~bem_electrostatic_snapshot->module~bem_string_utils module~bem_electrostatic_snapshot->module~bem_types module~bem_coulomb_fmm_periodic_nonzero_reference bem_coulomb_fmm_periodic_nonzero_reference module~bem_electrostatic_snapshot->module~bem_coulomb_fmm_periodic_nonzero_reference module~bem_coulomb_fmm_periodic_nonzero_upper_vacuum bem_coulomb_fmm_periodic_nonzero_upper_vacuum module~bem_electrostatic_snapshot->module~bem_coulomb_fmm_periodic_nonzero_upper_vacuum module~bem_field_solver bem_field_solver module~bem_electrostatic_snapshot->module~bem_field_solver module~bem_panel_geometry bem_panel_geometry module~bem_electrostatic_snapshot->module~bem_panel_geometry module~bem_panel_kernel bem_panel_kernel module~bem_electrostatic_snapshot->module~bem_panel_kernel module~bem_periodic_zero_mode_eval bem_periodic_zero_mode_eval module~bem_electrostatic_snapshot->module~bem_periodic_zero_mode_eval module~bem_periodic_zero_mode_plan bem_periodic_zero_mode_plan module~bem_electrostatic_snapshot->module~bem_periodic_zero_mode_plan module~bem_electrostatic_snapshot->module~bem_physics_config_types module~bem_kinds->iso_fortran_env module~bem_types->module~bem_kinds module~bem_coulomb_fmm_periodic_nonzero_reference->ieee_arithmetic module~bem_coulomb_fmm_periodic_nonzero_reference->module~bem_constants module~bem_coulomb_fmm_periodic_nonzero_reference->module~bem_kinds module~bem_coulomb_fmm_periodic_nonzero_reference->module~bem_types module~bem_coulomb_fmm_periodic_nonzero_reference->module~bem_panel_geometry module~bem_triangle_quadrature bem_triangle_quadrature module~bem_coulomb_fmm_periodic_nonzero_reference->module~bem_triangle_quadrature module~bem_coulomb_fmm_periodic_nonzero_upper_vacuum->ieee_arithmetic module~bem_coulomb_fmm_periodic_nonzero_upper_vacuum->module~bem_constants module~bem_coulomb_fmm_periodic_nonzero_upper_vacuum->module~bem_kinds module~bem_coulomb_fmm_periodic_nonzero_upper_vacuum->module~bem_types module~bem_field_solver->ieee_arithmetic module~bem_field_solver->module~bem_constants module~bem_field_solver->module~bem_kinds module~bem_field_solver->module~bem_string_utils module~bem_field_solver->module~bem_types module~bem_field_solver->module~bem_physics_config_types module~bem_coulomb_fmm_core bem_coulomb_fmm_core module~bem_field_solver->module~bem_coulomb_fmm_core module~bem_panel_geometry->ieee_arithmetic module~bem_panel_geometry->module~bem_kinds module~bem_panel_kernel->module~bem_constants module~bem_panel_kernel->module~bem_kinds module~bem_panel_kernel->module~bem_panel_geometry module~bem_panel_self_terms bem_panel_self_terms module~bem_panel_kernel->module~bem_panel_self_terms module~bem_periodic_zero_mode_eval->module~bem_constants module~bem_periodic_zero_mode_eval->module~bem_kinds module~bem_periodic_zero_mode_eval->module~bem_periodic_zero_mode_plan module~bem_periodic_zero_mode_plan->ieee_arithmetic module~bem_periodic_zero_mode_plan->module~bem_constants module~bem_periodic_zero_mode_plan->module~bem_kinds module~bem_periodic_zero_mode_plan->module~bem_types module~bem_physics_config_types->ieee_arithmetic module~bem_physics_config_types->module~bem_kinds module~bem_physics_config_types->module~bem_string_utils module~bem_physics_config_types->module~bem_types module~bem_coulomb_fmm_core->module~bem_kinds module~bem_coulomb_fmm_types bem_coulomb_fmm_types module~bem_coulomb_fmm_core->module~bem_coulomb_fmm_types module~bem_panel_self_terms->module~bem_kinds module~bem_panel_self_terms->module~bem_panel_geometry module~bem_triangle_quadrature->module~bem_constants module~bem_triangle_quadrature->module~bem_kinds module~bem_triangle_quadrature->module~bem_panel_geometry module~bem_coulomb_fmm_types->module~bem_kinds module~bem_coulomb_fmm_types->module~bem_panel_geometry module~bem_coulomb_fmm_types->module~bem_periodic_zero_mode_plan

Used by

  • module~~bem_app_config_potential_runtime~~UsedByGraph module~bem_app_config_potential_runtime bem_app_config_potential_runtime module~bem_app_config_particle_runtime bem_app_config_particle_runtime module~bem_app_config_particle_runtime->module~bem_app_config_potential_runtime module~bem_app_config_runtime bem_app_config_runtime module~bem_app_config_runtime->module~bem_app_config_potential_runtime module~bem_app_config_runtime->module~bem_app_config_particle_runtime module~bem_app_config bem_app_config module~bem_app_config->module~bem_app_config_runtime module~bem_app_config_particle_runtime_batch bem_app_config_particle_runtime_batch module~bem_app_config_particle_runtime_batch->module~bem_app_config_particle_runtime module~bem_app_config_particle_runtime_sampling bem_app_config_particle_runtime_sampling module~bem_app_config_particle_runtime_sampling->module~bem_app_config_particle_runtime module~bem_simulator bem_simulator module~bem_simulator->module~bem_app_config_runtime module~bem_simulator->module~bem_app_config module~bem_simulator_io bem_simulator_io module~bem_simulator_io->module~bem_app_config_runtime module~bem_simulator_io->module~bem_simulator module~bem_simulator_loop bem_simulator_loop module~bem_simulator_loop->module~bem_app_config_runtime module~bem_simulator_loop->module~bem_simulator module~bem_matching_plane_coupling bem_matching_plane_coupling module~bem_simulator_loop->module~bem_matching_plane_coupling module~bem_matching_plane_coupling->module~bem_app_config module~bem_simulator_charge bem_simulator_charge module~bem_simulator_charge->module~bem_simulator module~bem_simulator_particles bem_simulator_particles module~bem_simulator_particles->module~bem_simulator module~bem_simulator_stats bem_simulator_stats module~bem_simulator_stats->module~bem_simulator program~main main program~main->module~bem_app_config program~main->module~bem_simulator program~zhao_atlas_main zhao_atlas_main program~zhao_atlas_main->module~bem_app_config program~zhao_response_main zhao_response_main program~zhao_response_main->module~bem_app_config

Subroutines

public subroutine compute_face_average_potential(mesh, sim, spec, snapshot, phi_face, phi_std, phi_min, phi_max)

reservoir_face 開口面の平均電位を N x N 格子平均で評価する。

Arguments

Type IntentOptional Attributes Name
type(mesh_type), intent(in) :: mesh

現在バッチ開始時点の電荷分布メッシュ。

type(sim_config), intent(in) :: sim

シミュレーション設定。

type(particle_species_spec), intent(in) :: spec

reservoir_face 粒子種設定。

type(electrostatic_snapshot_type), intent(inout) :: snapshot

refresh 済み静電 snapshot。

real(kind=dp), intent(out) :: phi_face

注入開口面の平均電位 [V]。

real(kind=dp), intent(out), optional :: phi_std

評価格子上の電位の母標準偏差 [V](省略可)。

real(kind=dp), intent(out), optional :: phi_min

評価格子上の電位の母標準偏差 [V](省略可)。 評価格子上の最小電位 [V](省略可)。

real(kind=dp), intent(out), optional :: phi_max

評価格子上の電位の母標準偏差 [V](省略可)。 評価格子上の最小電位 [V](省略可)。 評価格子上の最大電位 [V](省略可)。

public subroutine compute_z_high_box_potential_statistics(mesh, sim, snapshot, phi_mean, phi_std, phi_min, phi_max)

box の z-high 全断面における電位統計をセル中心 N x N 格子で評価する。

Read more…

Arguments

Type IntentOptional Attributes Name
type(mesh_type), intent(in) :: mesh
type(sim_config), intent(in) :: sim
type(electrostatic_snapshot_type), intent(inout) :: snapshot
real(kind=dp), intent(out) :: phi_mean
real(kind=dp), intent(out) :: phi_std
real(kind=dp), intent(out) :: phi_min
real(kind=dp), intent(out) :: phi_max

public subroutine warn_face_average_potential_variation(sim, spec, phi_mean, phi_std, phi_min, phi_max)

注入面の局所電位差が面平均 reservoir 近似の特徴エネルギーに対して大きい場合に警告する。

Arguments

Type IntentOptional Attributes Name
type(sim_config), intent(in) :: sim
type(particle_species_spec), intent(in) :: spec
real(kind=dp), intent(in) :: phi_mean
real(kind=dp), intent(in) :: phi_std
real(kind=dp), intent(in) :: phi_min
real(kind=dp), intent(in) :: phi_max

public subroutine resolve_face_sampling_geometry(box_min, box_max, inject_face, axis_n, axis_t1, axis_t2, boundary_value, inward_normal)

注入面名から法線軸・接線軸・境界値・内向き法線を返す。

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: box_min(3)
real(kind=dp), intent(in) :: box_max(3)
character(len=*), intent(in) :: inject_face

注入面識別子。

integer, intent(out) :: axis_n

法線軸インデックス(1:x, 2:y, 3:z)。

integer, intent(out) :: axis_t1

法線軸インデックス(1:x, 2:y, 3:z)。 第1接線軸インデックス。

integer, intent(out) :: axis_t2

法線軸インデックス(1:x, 2:y, 3:z)。 第1接線軸インデックス。 第2接線軸インデックス。

real(kind=dp), intent(out) :: boundary_value

注入面の境界座標値 [m]。

real(kind=dp), intent(out) :: inward_normal(3)