Commit Graph

35 Commits (master)

Author SHA1 Message Date
Jan Petykiewicz 107c0fcd7e set fdfd sources in a way that catches incorrect j.e calculation 4 months ago
Jan Petykiewicz c3b6fd94a6 should be e dot j.conj() 4 months ago
Jan Petykiewicz 44465f1bc9 modernize type annotations 12 months ago
Jan Petykiewicz 68a9818388 use moveaxis instead of deprecated rollaxis 1 year ago
Jan Petykiewicz edfd9a49c6 formatting 2 years ago
Jan Petykiewicz 52df24ad98 Major typing updates
Split field types to differentiate between complex and purely-real

Fix lots of numpy-related stuff
2 years ago
Jan Petykiewicz faecc79179 typing and formatting updates 2 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 a956323b94 move stuff under fdmath 4 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 1048dfc21c Add test_fdfd_pml 5 years ago
Jan Petykiewicz caa6f995c7 rename SimResult classes to TDResult and FDResult 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 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 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 2a1fa1df7b Take care of dxes at the poynting() level rather than poynting_divergence 5 years ago
Jan Petykiewicz 6333dbd110 add missing __init__.py's 5 years ago
Jan Petykiewicz 5951f2bdb1 various fixes and improvements 5 years ago
Jan Petykiewicz f61bcf3dfa rename to meanas and split fdtd/fdfd 5 years ago