Overlap is computed with the conjugate

This commit is contained in:
Jan Petykiewicz 2021-09-05 17:50:51 -07:00
parent d3db3ca91e
commit 01b4971388

View File

@ -167,7 +167,7 @@ def compute_overlap_e(E: fdfield_t,
mu: Magnetic permeability (default 1 everywhere)
Returns:
overlap_e such that `numpy.sum(overlap_e * other_e)` computes the overlap integral
overlap_e such that `numpy.sum(overlap_e * other_e.conj())` computes the overlap integral
"""
slices = tuple(slices)