I am working with a simulation of electromagnetic fields. After reading the modulus user guide, I have some doubts about the units used in the modulus samples, especially the wavenumber (frequency divided by the speed of light). When we usually simulate the electromagnetic field in Matlab, the unit of length, width and height of the electrolyte space is nm or micrometer, and the unit of transmitted wavelength is also nm.

In my simulation, the space unit is microns, and the wavelength of electromagnetic waves is 500 nm. The results simulated by modulus are different from those of matlab. I am sure that other settings are no problem, mainly the problem of units.

In Chapter 10 of the User Guide, all the examples are unitless, with wave numbers of 16 or 32, as shown in the figure below.

I want to know what are the spatial units used in the modulus and also what are the frequency units of the electromagnetic wave.

Thanks and regards,

Zhou