Commit Graph

169 Commits (master)

Author SHA1 Message Date
Jan Petykiewicz d3db3ca91e fix formula not rendering 3 years ago
Jan Petykiewicz 8ac0d52cd1 Add some docs for energy calculations 3 years ago
Jan Petykiewicz 8c8f9f6e69 factor out omega**2 terms 3 years ago
Jan Petykiewicz 204afb8024 Return: -> Returns: 3 years ago
Jan Petykiewicz 39f9de2e55 strip whitespace from version string 3 years ago
jan fcca9e3ae5 Fix waveguide eigenvalue derivation
Thanks to Rafael Diaz Fuentes and Paolo Pintus for catching and
correcting these!
3 years ago
jan 8faefff98d make vectorization docs point to the right functions 3 years ago
Jan Petykiewicz 1a754dcbc9 clarify that `rotation` is a circular shift (rename to `shift_circ`) 3 years ago
Jan Petykiewicz fcd6fc7065 add py.typed to enable downstream typechecking 4 years ago
Jan Petykiewicz 54bc14f923 bump version to v0.7 4 years ago
Jan Petykiewicz f4afb06210 avoid dependencies on package_data
__doc__ is handled poorly here; consider an alternate approach
4 years ago
Jan Petykiewicz db23cc1d6f style and typing fixes in tests 4 years ago
Jan Petykiewicz bc428f5e8e add more type hints 4 years ago
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 2fceff9930 bump version to v0.6 4 years ago
Jan Petykiewicz 6e3cc1c3bd more doc updates 4 years ago
Jan Petykiewicz 7d8901539c Use big Omega 4 years ago
Jan Petykiewicz 26db5e757a add note about sources 4 years ago
Jan Petykiewicz 6930147460 fix index 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 034f79eae6 Poynting vector doc updates 4 years ago
Jan Petykiewicz f9d90378b4 more documentation 4 years ago
Jan Petykiewicz f69b8c9f11 Change comments to new format 4 years ago
Jan Petykiewicz dcc9e7c2ad Update some type info 4 years ago
Jan Petykiewicz f408689ef3 note about numpy ndarray 4 years ago
Jan Petykiewicz 8b0faf720d add info about functions vs operators 4 years ago
Jan Petykiewicz 35bd3d36f4 remove old print 4 years ago
Jan Petykiewicz 2dbd17f332 explain dx_lists_t 4 years ago
Jan Petykiewicz bb30933109 more explanation about grid figures 4 years ago
Jan Petykiewicz 3a29c62de7 remove old dxes figures 4 years ago
Jan Petykiewicz a8364a1e32 grid figure fixup 4 years ago
Jan Petykiewicz e69201ce24 work on grid text 4 years ago
Jan Petykiewicz 808a8879ae Put H at vertices and label them +1/2 4 years ago
Jan Petykiewicz 8bccc69706 more grid work 4 years ago
Jan Petykiewicz b58f8ebb65 lots more fdmath documentation 4 years ago
Jan Petykiewicz 163aa52420 lots more docs 4 years ago
Jan Petykiewicz 2f822ae4a6 add headings and vector diagram 4 years ago
Jan Petykiewicz ec77408680 add todo 5 years ago
Jan Petykiewicz de98d70850 specify forward vs reverse 5 years ago
Jan Petykiewicz 1a3531946a more doc fixes 5 years ago
Jan Petykiewicz a956323b94 move stuff under fdmath 5 years ago
Jan Petykiewicz 1242e8794b documentation updates 5 years ago
Jan Petykiewicz e5db39fd49 use fdmath derivatives where possible 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 f0ef31c25d enable multiple vector rayleigh_quotient_iteration 5 years ago
Jan Petykiewicz 3b57619c2f Use readme as module doc 5 years ago
Jan Petykiewicz 1048dfc21c Add test_fdfd_pml 5 years ago
Jan Petykiewicz caa6f995c7 rename SimResult classes to TDResult and FDResult 5 years ago
Jan Petykiewicz 6f2faca7dc Ignore size-1 axes when shifting 5 years ago
Jan Petykiewicz 63ad67800a further improve solve precision 5 years ago
Jan Petykiewicz 0f07fd15da whitespace 5 years ago
Jan Petykiewicz 41be4d2ab8 more cleanup 5 years ago
Jan Petykiewicz 318f361f61 some cleanup 5 years ago
Jan Petykiewicz d4bb3e83e1 improve solution accuracy 5 years ago
Jan Petykiewicz b24b5d169f Add residual testing 5 years ago
Jan Petykiewicz 0fd6df441e linter options 5 years ago
Jan Petykiewicz 462a8c6dbc add some nonuniform dxes
'random' causes some tests to fail, haven't thought about why yet
5 years ago
Jan Petykiewicz d16de3802f work around pylint bug 5 years ago
Jan Petykiewicz 31e8dde8ce Add type hints 5 years ago
Jan Petykiewicz 2300a8b47e poynting equality needs bigger tolerance
not sure why yet
5 years ago
Jan Petykiewicz 8794cbd7c2 e dot j should be masked as well 5 years ago
Jan Petykiewicz ca70d6e6c8 Sample all three S components... 5 years ago
Jan Petykiewicz 68f857e83e Use 2-point sources to test fdfd poynting 5 years ago
Jan Petykiewicz 0bb4105e7a e dot j should take into account dxes 5 years ago
Jan Petykiewicz 9253200eaf Move j_steps and j_distribution out of conftest
- also move PRNG back into utils
5 years ago
Jan Petykiewicz 60961db2d3 add atol to shut up solver 5 years ago
Jan Petykiewicz b0b295d1ac add test_fdfd 5 years ago
Jan Petykiewicz 061dbf59d1 formatting fixes 5 years ago
Jan Petykiewicz 8fc96c13ab test updates
- move generalizable fixtures out into conftest.py
- move some other functions out to utils
- fix test_poynting_planes() for fdtd
5 years ago
Jan Petykiewicz 9f4a515eca import fdfd submodules 5 years ago
Jan Petykiewicz 7d36be9685 remove TODO 5 years ago
Jan Petykiewicz 9f207f76e4 delete extra lines 5 years ago
Jan Petykiewicz 2a1fa1df7b Take care of dxes at the poynting() level rather than poynting_divergence 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 0ad289e5ac Switch to file-based version number 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 9cd2dd131b Move version into setup.py and read it back with pkg_resources 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