Puffin
Puffin copied to clipboard
Diffraction should be performed in stages over the drifts etc
The diffraction solution is analytic, but the application of the boundaries must be done frequently to absorb reflections in the mesh. Currently, the field is propagated over the entire drift at once, which for longer wavelength FELs (> ~100nm) should be split up into a few separate diffraction steps.