apply_fixed_surface_current_closure Interface

interface
public module subroutine apply_fixed_surface_current_closure(app, current_model, pcls_batch, fresh_particle_count, workspace, mpi, raw_charge_needed)

Arguments

Type IntentOptional Attributes Name
type(app_config), intent(in) :: app
type(surface_closure_contract_type), intent(in) :: current_model
type(particles_soa), intent(in) :: pcls_batch
integer(kind=i32), intent(in) :: fresh_particle_count
type(simulator_batch_workspace_type), intent(inout) :: workspace
type(mpi_context), intent(in) :: mpi
logical, intent(in), optional :: raw_charge_needed

固定電流 closure を使う種がなくても raw 電荷の rank 合計が要る(外部根の更新が放出反作用電荷を読む)。 省略時は .true.。全 rank で同じ値を渡す。