吸着(insulator)モデルのメインループを実行し、電荷堆積と統計更新を行う。
固定電流 closure は contract との契約をテストから直接確認する。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(mesh_type), | intent(inout) | :: | mesh | |||
| type(app_config), | intent(in) | :: | app | |||
| type(sim_stats), | intent(out) | :: | stats | |||
| type(sim_stats), | intent(in), | optional | :: | initial_stats | ||
| type(injection_state), | intent(inout), | optional | :: | inject_state | ||
| type(mpi_context), | intent(in), | optional | :: | mpi | ||
| type(charge_ledger_type), | intent(inout), | optional | :: | charge_ledger | ||
| type(electrostatic_diagnostics_type), | intent(out), | optional | :: | electrostatic_diagnostics | ||
| type(run_outputs_type), | intent(inout), | optional | :: | outputs |
history の出力先と終了時のメッシュ電位。省略時は何も書かない。 |
| Type | Intent | Optional | 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 合計が要る(外部根の更新が放出反作用電荷を読む)。
省略時は |