Closed feelingxxxxxxx closed 3 months ago
Hey @feelingxxxxxxx,
In this example, your temporal profile t_profile
is a gaussian distribution, which will not drop to 0 at any time. You might want to try using t_end
to switch the laser off, which is discussed in the laser block documentation.
Hope this helps, Stuart
Dear teacher: Hello, in the first picture of ey electric field diagram in my 1D simulation, the horizontal coordinate is X (laser propagation direction), and the vertical coordinate is amplitude. We can see that the laser peak electric field is on the order of 1e14, but after the laser pulse is over, there is still an electric field (red box in the figure), about 1e4-1e10 (close to the X-axis shown in the figure), which has caused great trouble to my simulation. Is there any way to remove this non-laser electric field? The second picture is me writing the laser code.