Help about CPML 2D code...

Status
Not open for further replies.

mutasili

Newbie level 3
Joined
Jul 5, 2010
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Mexico
Activity points
1,305
Hi boys... I programmed this code for CPML 2D simulation based on Taflove 's fortran code for 3D. But when I plot relative error for UPML (alpha max=0) and CPML (both simulations with the same caracteristics), the relative error is smaller than UPML than for CPML. I leave my code. I think it's wrong. Can somebody check it and correct it? , please.

I need it to finish my thesis...
Many thanks

Mutasili
 

Attachments

  • cpmltaflove2d.zip
    5.2 KB · Views: 86

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…