\brief Inject particles during the simulation * \param injection_box: domain where particles should be injected. */
| 264 | * \param injection_box: domain where particles should be injected. |
| 265 | */ |
| 266 | void |
| 267 | PhysicalParticleContainer::ContinuousInjection (const amrex::RealBox& injection_box) |
| 268 | { |
| 269 | // Inject plasma on level 0. Particles will be redistributed. |
| 270 | const int lev=0; |
| 271 | for (auto const& plasma_injector : plasma_injectors) { |
| 272 | AddPlasma(*plasma_injector, lev, injection_box); |
| 273 | } |
| 274 | } |
| 275 | |
| 276 | /* \brief Inject a flux of particles during the simulation |
| 277 | */ |
nothing calls this directly
no outgoing calls
no test coverage detected