Commit Graph

298 Commits

Author SHA1 Message Date
e5db39fd49 use fdmath derivatives where possible 2019-11-25 00:04:53 -08:00
e69b0f61ec ignore vim swap files 2019-11-24 23:54:24 -08:00
004295fdf7 ignore docs directory 2019-11-24 23:48:59 -08:00
d6e7e3dee1 Big documentation and structure updates
- Split math into fdmath package
- Rename waveguide into _2d _3d and _cyl variants
- pdoc-based documentation
2019-11-24 23:47:31 -08:00
f0ef31c25d enable multiple vector rayleigh_quotient_iteration 2019-11-24 22:50:03 -08:00
3b57619c2f Use readme as module doc 2019-11-24 22:46:47 -08:00
8550125744 Readme updates 2019-11-24 22:46:36 -08:00
1048dfc21c Add test_fdfd_pml 2019-11-22 00:56:42 -08:00
caa6f995c7 rename SimResult classes to TDResult and FDResult 2019-11-22 00:56:35 -08:00
6f2faca7dc Ignore size-1 axes when shifting 2019-11-22 00:56:03 -08:00
63ad67800a further improve solve precision 2019-11-21 20:13:53 -08:00
0f07fd15da whitespace 2019-11-12 01:11:58 -08:00
41be4d2ab8 more cleanup 2019-11-12 01:11:13 -08:00
318f361f61 some cleanup 2019-11-12 01:10:58 -08:00
d4bb3e83e1 improve solution accuracy 2019-11-12 01:10:21 -08:00
b24b5d169f Add residual testing 2019-11-12 01:10:01 -08:00
0fd6df441e linter options 2019-11-12 01:09:42 -08:00
462a8c6dbc add some nonuniform dxes
'random' causes some tests to fail, haven't thought about why yet
2019-11-12 01:09:26 -08:00
d16de3802f work around pylint bug 2019-11-12 00:57:36 -08:00
31e8dde8ce Add type hints 2019-11-12 00:57:26 -08:00
507417b90e add missing cd 2019-11-05 19:02:40 -08:00
2300a8b47e poynting equality needs bigger tolerance
not sure why yet
2019-11-04 20:49:04 -08:00
8794cbd7c2 e dot j should be masked as well 2019-11-04 20:48:14 -08:00
ca70d6e6c8 Sample all three S components... 2019-11-04 20:31:02 -08:00
68f857e83e Use 2-point sources to test fdfd poynting 2019-11-04 20:30:45 -08:00
0bb4105e7a e dot j should take into account dxes 2019-11-04 20:30:07 -08:00
9253200eaf Move j_steps and j_distribution out of conftest
- also move PRNG back into utils
2019-11-04 20:27:22 -08:00
60961db2d3 add atol to shut up solver 2019-10-27 16:17:15 -07:00
7da80c3e64 more args to pytest 2019-10-27 16:16:43 -07:00
b0b295d1ac add test_fdfd 2019-10-27 16:13:25 -07:00
061dbf59d1 formatting fixes 2019-10-27 16:12:48 -07:00
8fc96c13ab test updates
- move generalizable fixtures out into conftest.py
- move some other functions out to utils
- fix test_poynting_planes() for fdtd
2019-10-27 16:12:30 -07:00
9f4a515eca import fdfd submodules 2019-10-27 15:44:28 -07:00
7d36be9685 remove TODO 2019-10-27 12:47:38 -07:00
9f207f76e4 delete extra lines 2019-10-27 12:46:46 -07:00
589d658853 prettyify example plots 2019-10-27 12:46:12 -07:00
2a1fa1df7b Take care of dxes at the poynting() level rather than poynting_divergence 2019-10-27 12:43:06 -07:00
c0f14cd07b Modify phase factor for 1-cell shift (poynting).
Also clarify some variable names
2019-10-27 12:42:21 -07:00
6257254579 add fdfd.poynting_e_cross_h() 2019-10-27 12:41:08 -07:00
88123342be note that venv is optional 2019-10-10 00:01:57 -07:00
9709a0a415 make subheading smaller 2019-10-09 00:11:27 -07:00
cde8537f14 add see-also links 2019-10-09 00:10:46 -07:00
ca7bc71788 add git to necessary programs 2019-10-09 00:03:31 -07:00
2ba75a4189 branch name changes to 2019-10-09 00:00:24 -07:00
c6e463209f Update repo location 2019-10-08 23:59:22 -07:00
6c032fbdc3 Note temporary source location 2019-10-08 23:59:03 -07:00
74e212f560 examples require gridlock 2019-10-08 23:56:49 -07:00
7f22f83c68 Update README with install instructions 2019-10-08 23:56:33 -07:00
6850fe532f poynting calculation comparison 2019-09-27 20:48:03 -07:00
6333dbd110 add missing __init__.py's 2019-09-27 20:47:22 -07:00