Overlap is computed with the conjugate

master
Jan Petykiewicz 3 years ago
parent d3db3ca91e
commit 01b4971388

@ -167,7 +167,7 @@ def compute_overlap_e(E: fdfield_t,
mu: Magnetic permeability (default 1 everywhere) mu: Magnetic permeability (default 1 everywhere)
Returns: 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) slices = tuple(slices)

Loading…
Cancel
Save