You can set the relative phase of any two sources using the amplitude property. Note that if you set the amplitude to a complex value, you will also likely need to set force_complex_fields=True in the Simulation constructor since Meep uses real fields by default.

For more details on sources in supercells, see Section 4.6 of our book chapter: https://arxiv.org/abs/1301.5366.

On 10/13/20 02:11, lafullo...@malvernoptical.co.uk wrote:

Hi, I’ve been using a supercell to represent a non-orthogonal lattice. I know I need to use two sources to counter the effects of band folding in reflection or transmission measurements, however I’m struggling to get the correct results out from simulations. The two (Gaussian) sources currently in the supercell are separated by a lattice vector, but I think the problem lies with the phase offset between them. Does anyone know how to correctly use a time delay between the two sources (or any other method) in order to create the correct phase offset for countering band folding?

_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to