Warwick-Plasma / epoch

Particle-in-cell code for plasma physics simulations
https://epochpic.github.io
GNU General Public License v3.0
184 stars 58 forks source link

Error in Demo example #619

Open DanRRRR opened 11 months ago

DanRRRR commented 11 months ago

Example for injector gives an error: "No particles specified for species "Electron"

https://epochpic.github.io/quickstart/basic_examples/injectors.html#particle-bunch-injection

Still it produces results

Status-Mirror commented 10 months ago

Hey Dan,

The line may be a bit misleading, but it's not an error. This line is printed because no particles have been initially loaded into the simulation. Injection occurs after the initialisation.

Cheers, Stuart