Hi-PACE / hipace

Highly efficient Plasma Accelerator Emulation, quasistatic particle-in-cell code
https://hipace.readthedocs.io
Other
51 stars 14 forks source link

Fix index bug in FFTPoissonSolverPeriodic #1102

Closed AlexanderSinn closed 4 months ago

AlexanderSinn commented 4 months ago

In the loop over m_tmpSpectralField and m_inv_k2, the wrong box was used which was 2x too large, causing memory errors.