Hi! The codes I copied are from here:
The main body is unchanged. I just add some lines to add fiber and FDE simulation area. But the result (mode profile at x=0) of my project is very different from the downloaded one although they are using the same parameter values.
Thank you so much!