A computational physics code for Maxwell-Bloch evolution laser dynamics.
Inside the optical cavity, the region
We use reflection correction for boundary condition.
and the output:
In the computing part, we mainly use 4th-order Runge-Kutta Algorithm to calculate the dynamic functions for both real and complex part.
where