Yes, Meep can compute complex (resonant) frequencies; see the manual for examples (using the "harminv") feature.
However, you can't have linear gain, leading to a complex frequency in the upper-half plane, in a time-domain simulation — this corresponds to exponentially diverging solutions (which will quickly hit floating-point limits and give ±Inf or even NaN values). Meep does support nonlinear (saturable) gain, but this will not give the complex-frequency solutions you want: the nonlinearity will suppress the exponential growth. The simplest way to observe these PT-symmetric exceptional-point (EP) solutions is to start with a PT symmetric system (loss+gain) and then add loss *everywhere* in the computational cell, so that the gain is cancelled and you are left with (loss+lossless) materials. (The same trick has been used in designing experiments IIRC; you should be able to find references on this if you look.) > On Nov 4, 2020, at 9:34 AM, Cícero Julião <juliaojun...@gmail.com> wrote: > > Dear friends, > > I am studying pt-symmetry, gain and loss balanced in a specific way. > I want to plot the real/imaginary parts of the fields, like in this link: > https://images.app.goo.gl/zHbezd7MadL3ePDr5 > <https://images.app.goo.gl/zHbezd7MadL3ePDr5> > > Is it possible in Meep? If yes, please could you help me? > > > > > -- > > Cícero Julião da Silva Junior > ____________________________________ > Instituto Federal de Alagoas - IFAL > Campus Murici > http://www.ifal.edu.br/ > <http://www.ifal.edu.br/>_______________________________________________ > meep-discuss mailing list > meep-discuss@ab-initio.mit.edu > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
_______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss