GenerateSquareUniformElectricField¶
-
public class
GenerateSquareUniformElectricField
implements ElectricFieldCommand¶ Creates a uniform electric field of square shape. This electric field is uniformly polarized and of the same magnitude within the area (0, width), (0, height). It extends from z = 0 to z = infinity. Obviously, it is not physical but is a good approximation of a plane wave with finite energy.
Author: Kyle M. Douglass
Fields¶
orientation¶
-
Vector3D
orientation
¶ The orientation of the electric field vector. This vector should be normalized to 1.
refractiveIndex¶
-
RefractiveIndex
refractiveIndex
¶ The refractive index of the medium.
Methods¶
generateElectricField¶
-
public ElectricField
generateElectricField
()¶ Executes the command that returns a uniform electric field of square shape. This electric field is uniformly polarized and of the same magnitude within the area (0, width), (0, height). It extends from z = 0 to z = infinity. Obviously, it is not physical but is a good approximation of a plane wave with finite energy.