victorliu / S4

Stanford Stratified Structure Solver - Electromagnetic simulator for layered periodic structures
http://www.stanford.edu/group/fan/S4/
GNU General Public License v2.0
131 stars 149 forks source link

How to simulate the transverse magneto-optical Kerr effect with S4 #87

Open samehole opened 5 years ago

samehole commented 5 years ago

TMOKE, The form of the dielectric tensor is[ε0 , 0 , -iε1; 0 , ε0 , 0 ; iε1 , 0 , ε0],But the reflectivity I get is the same as the dielectric tensor is [ε0 , 0 , 0; 0 , ε0 , 0 ; 0 , 0 , ε0]. Only when the dielectric tensor is [ε0 , -iε1 , 0; iε1 , ε0 , 0 ; 0 , 0 , ε0],reflectivity will change. Is S4 only able to calculate PMOKE?

Chronum94 commented 5 years ago

https://web.stanford.edu/group/fan/S4/lua_api.html If you look at the AddMaterial documentation here, I believe the off-diagonal elements are ignored and assumed to be zero.

wslym35 commented 1 week ago

Sorry to bring this up again after 5 years, but I'm experiencing a similar issue with an anisotropic dielectric tensor. If S4 ignores the off-diagonal elements, then [ε0 , -iε1 , 0; iε1 , ε0 , 0 ; 0 , 0 , ε0] shouldn't produce a different result than [ε0 , 0 , 0; 0 , ε0 , 0 ; 0 , 0 , ε0] yet according to OP it does. Something fishy is happening with the way the dielectric tensor is treated.