Appendix
This documentation was written for releases up to 2018 and is being revised. Some dialogs have changed since. If something does not match what you see, write to mc@mcgrating.com.
Appendix. Multimode interference formalism.
Definitions.
Index sizes
Cover size - equal to 1 for 1D collinear or equal to 2 for 1D conical or crossed;
Grating size - equal or greater than 1 and less or equal to total number of modes.
Complex vectors
INC, inc i is incident from cover;
REF, ref i is reflected in cover;
CG, cg i is grating modes propagating from cover to substrate (down);
SG, sg i is grating modes propagating from substrate to cove (up);
TR, tr i is transmitted to substrate;
G, g i is local grating modes;
Φ, φ i is the vector of complex phase coefficients of the modes on the path from the cover to the substrate or vice versa;
φ j = exp(i Neff j k0 Thi),
where k0 is wavenumber in vacuum,
Thi is
grating layer thickness.
Scattering complex matrices
IR, ir i, j is scattering matrix of INC to REF, Row size = Column size = Cover size;
IT, it i, j is scattering matrix of INC to CG, Row size = Grating size, Column size = Cover size;
CR, cr i, j is scattering matrix of G to CG at cover interface, Row size = Grating size, Column size = Grating size;
CT, ct i, j is scattering matrix of G to REF at cover interface, Row size = Cover size, Column size = Grating size;
SR, sr i, j is scattering matrix of G to SG at substrate interface, Row size = Grating size, Column size = Grating size;
ST, st i, j is scattering matrix of G to TR at substrate interface, Row size = Cover size, Column size = Grating size;
E, δ i, j and TMP, tmp i, j is unity and temporary matrices, Row size = Column size = Grating size).
Summation is performed on repeated indices (exception – multiplication on φ i - without summation).
INC depends on input conditions.
Suppose we know the vector CG. The mode vector g i = cg i * φ i impinges the substrate interface. Thus, we can determine the transmission to the substrate and reflection from it
tr i = st i, n cg n φ n (1)
sg i = sr i, n cg n φ n. (2)
Reflected vector acquires a complex phase advance sg i φ i and impinges cover interface. Taking into account the INC vector, we obtain the expressions for vector CG:
cg i = it i, n inc n + cr i, m sg m φ m (3)
or
cg i = it i, n inc n + cr i, m sr m, n cg n φ n φ m and (4)
ref i = ir i, n inc n + ct i, m sr m, n cg n φ n φ m (5)
or
δ i, n cg n = it i, n inc n + cr i, m sr m, n cg n φ n φ m (6)
or
(δ i, n - cr i, m φ m sr m, n φ n) cg n = it i, n inc n (7)
The multiplication on φ n and φ m does not involve summation, so in parentheses we have a square matrix. In the matrix form, the last equation will have the form:
(E – CR•TMP)•CG = IT•INC, where tmp i, j = φ i sr i, j φ j (8)
Finally
CG = (E – CR•TMP)-1•IT•INC (9)
If we know the vector CG, then by the previous formulas it is possible to calculate the reflection, transmission and the resonant increase in the amplitudes of the grating modes.
A special functions that transform the conditional polarizations to the polarizations TE(s) and TM(p) were used.
From the in-application help of Modal Crossed, documented through 2018. If you publish results computed with MC Grating, see how to cite it.