Open samehole opened 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.
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.
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?