Jerome-LMA / oscar

An optical FFT code to simulate Fabry Perot cavities with arbitrary mirror profiles
19 stars 5 forks source link

Compact GPU FSR scan #6

Closed nilsmelchert closed 2 years ago

nilsmelchert commented 2 years ago

As discussed before, I implemented the FSR scan in a single line and added the extensive code as a comment for better readibility.

Except for the difference in float32 (GPU) and float64 (numerical hickhack) the results are the same.