One more question. The model I have developed is similar to a photonic crystal slab. One of the parameters I would like to optimize over is the lattice constant. Since this involves periodic boundary conditions, the size of the fdtd simulaton region itself would be dynamically rescaled per simulation if the lattice constant changes. Is this possible within lumopt?

From it seems the setup script considers the 'optimizable geometry' objects to be in a static simulation area...