With a low zeta resolution and a strong wakefield, it can happen that psi goes below zero. These particles will cause a negative chi which can blow up the simulation pretty quickly.
[ ] Small enough (< few 100s of lines), otherwise it should probably be split into smaller PRs
[ ] Tested (describe the tests in the PR description)
[ ] Runs on GPU (basic: the code compiles and run well with the new module)
[ ] Contains an automated test (checksum and/or comparison with theory)
[ ] Documented: all elements (classes and their members, functions, namespaces, etc.) are documented
With a low zeta resolution and a strong wakefield, it can happen that psi goes below zero. These particles will cause a negative chi which can blow up the simulation pretty quickly.
const
isconst
)