Skip to content

davidkleiven/OptiX

Repository files navigation

OptiX

FDTD simulations of optical phenomena

Dependencies

Python visualisation

The plots are generated using matplotlib and Mayavi. When using Mayavi on Unix system errors concerning the use of wx occure (at least it did do me). This was fixed by changing the backend to qt4 by typing

export ETS_TOOLKIT=qt4

in the command line. This may be added to the .profile for permanent change.

Create Movie From Image Files

To create a movie from image files using ffmpeg type

ffmpeg -i visualize%d.png outfile.mp4

This assumes that the image files are named visualize0.png, visualize1.png, ..., visualizeN.png.

SCUFF-EM and BEM

Notes on the running the boundary element code using the SCUFF-EM library can be found here.

Paraxial Wave Equation Propagator

The documentation for the paraxial wave equation code is available here.