Commit Graph

56 Commits (d13a3796a939f16333b6b6ce74f14c115a29ea7e)

Author SHA1 Message Date
Jan Petykiewicz d13a3796a9 style and type fixes (per mypy and flake8) 4 years ago
Jan Petykiewicz 0e04f5ca77 zero k=0 values 4 years ago
Jan Petykiewicz 77e7781705 fix imports 4 years ago
Jan Petykiewicz d906514623 add missing return 4 years ago
Jan Petykiewicz a312a3085c hmn_2_exyz should return an ndarray 4 years ago
Jan Petykiewicz b7d4bbbd95 type annotation fixup 4 years ago
Jan Petykiewicz 6e3cc1c3bd more doc updates 4 years ago
Jan Petykiewicz 7d8901539c Use big Omega 4 years ago
Jan Petykiewicz eb586ea8b7 fix parital -> partial 4 years ago
Jan Petykiewicz bae1155c59 update waveguide operators to new format 4 years ago
Jan Petykiewicz 5250501f3e add waveguide eigenproblem derivation 4 years ago
Jan Petykiewicz f69b8c9f11 Change comments to new format 4 years ago
Jan Petykiewicz 35bd3d36f4 remove old print 4 years ago
Jan Petykiewicz 1a3531946a more doc fixes 5 years ago
Jan Petykiewicz a956323b94 move stuff under fdmath 5 years ago
Jan Petykiewicz d6e7e3dee1 Big documentation and structure updates
- Split math into fdmath package
- Rename waveguide into _2d _3d and _cyl variants
- pdoc-based documentation
5 years ago
Jan Petykiewicz 6f2faca7dc Ignore size-1 axes when shifting 5 years ago
Jan Petykiewicz 061dbf59d1 formatting fixes 5 years ago
Jan Petykiewicz 9f4a515eca import fdfd submodules 5 years ago
Jan Petykiewicz 9f207f76e4 delete extra lines 5 years ago
Jan Petykiewicz c0f14cd07b Modify phase factor for 1-cell shift (poynting).
Also clarify some variable names
5 years ago
Jan Petykiewicz 6257254579 add fdfd.poynting_e_cross_h() 5 years ago
Jan Petykiewicz 6333dbd110 add missing __init__.py's 5 years ago
Jan Petykiewicz 487bdd61ec Fixup poynting operators for new approach 5 years ago
jan a1a7aa5511 Alternate approach to poynting matrices 5 years ago
jan 2289c6d116 dx_prop should be a scalar? 5 years ago
jan bedec489aa Don't pre-conjugate e_overlap 5 years ago
jan f04c0daf28 solve_waveguide_mode_2d -> vsolve_*
- return (e_xy. wavenumber)
- vectorized inputs since we returned a vectorized output
- exy -> e_xy
5 years ago
jan b5ad284966 dx_prop -> prop_phase
propagation direction wavenumber might be different from
operator-derived (2D) wavenumber due to numerical dispersion, so lump it
in with dx_prop
5 years ago
Jan Petykiewicz 8eac9df76e in progress 5 years ago
Jan Petykiewicz a4c2239ad9 formatting 5 years ago
Jan Petykiewicz e99019b37f v -> e_xy for cylindrical mode result 5 years ago
Jan Petykiewicz f4bac9598d Remove unused waveguide_mode functions 5 years ago
Jan Petykiewicz 337cee8018 Add epsilon arg to compute_overlap_e
currently unused but useful for reusing solve_wgmode arguments
5 years ago
Jan Petykiewicz 5f96474497 Use e_boundary_source for compute_source 5 years ago
Jan Petykiewicz 7b56aa363f Use non-vectorized fields for waveguide_mode functions 5 years ago
Jan Petykiewicz 3887a8804f fix phase in expand_wgmode 5 years ago
Jan Petykiewicz d6a34b280e Simplify compute_source and fix propagation direction 5 years ago
Jan Petykiewicz 1860d754cd Fix shifts applied to E and H fields
Only some components need shifting
5 years ago
Jan Petykiewicz 7006b5e6e4 Flip propagation direction by flipping H 5 years ago
Jan Petykiewicz c306bb1f46 Correct for numerical dispersion at 3d solve_waveguide_mode level 5 years ago
Jan Petykiewicz af8efd00eb Add E-field versions of waveguide mode operators, rename v->e_xy or h_xy, and add ability to specify mode margin in solve_waveguide_mode_2d 5 years ago
Jan Petykiewicz 41bec05d4e Remove unwanted return 5 years ago
Jan Petykiewicz 2787908640 Add E variants of waveguide equations
rename 2d vector from v to e_xy or h_xy
5 years ago
Jan Petykiewicz 054ac994d5 Don't perform dx_prop wavenumber correction in waveguide_mode_2d
It's technically a correction for discretization in the third direction
5 years ago
Jan Petykiewicz 0503e9d6ef Fix shift_with_mirror() for C-ordered arrays 5 years ago
Jan Petykiewicz b466ed02ea Add e_boundary_source 5 years ago
Jan Petykiewicz ccdb423ba2 add e_tfsf_source 5 years ago
Jan Petykiewicz aade81c21e alternate src formulation 5 years ago
Jan Petykiewicz 07c94617fe Operator-based soruce 5 years ago