DarkF is an optical simulation code in FORTRAN 90 able to represent with a high accuracy any kind of stable cavity, even when many static or dynamical defects are present, like misalignments, curvature errors, surface irregularities, substrate inhomogeneities. It uses a plane wave decomposition to propagate the wavefronts. Beams and mirrors are sampled on a grid of coordinates (x; y) and the DarkF resolution is depending on the grid size and on the sampling rate (typically a size of 0.6m (larger than a mirror) and a sampling rate of 256*256). With the Fourier transform method, it is easy to obtain a propagated beam and we can use this code to simulate a simple or a complex system as a Fabry Perot cavity or Advanced detector, like Advanced Virgo, Advanced LIGO or Kagra. It can include reflection and transmission maps from measurements or real mirrors.
Features
- Fast execution time
- Use FFTW
- Optimized algorithm
- Fortran 90 sturdiness