Commit Graph

322 Commits

Author SHA1 Message Date
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
0ad289e5ac Switch to file-based version number 2019-09-27 20:44:31 -07:00
487bdd61ec Fixup poynting operators for new approach 2019-09-27 20:43:32 -07:00
jan
a1a7aa5511 Alternate approach to poynting matrices 2019-09-14 19:59:08 +02:00
jan
9cd2dd131b Move version into setup.py and read it back with pkg_resources 2019-09-12 12:21:09 +02:00
jan
c92656bed8 Compactify args 2019-09-05 22:53:43 +02:00
jan
10e275611d Use overlap_e 2019-09-05 22:42:39 +02:00
jan
2289c6d116 dx_prop should be a scalar? 2019-09-05 22:42:20 +02:00
jan
bedec489aa Don't pre-conjugate e_overlap 2019-09-05 22:41:34 +02:00
jan
f04c0daf28 solve_waveguide_mode_2d -> vsolve_*
- return (e_xy. wavenumber)
- vectorized inputs since we returned a vectorized output
- exy -> e_xy
2019-09-05 22:41:06 +02:00
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
2019-09-05 22:35:23 +02:00
8eac9df76e in progress 2019-08-30 22:03:54 -07:00
a4c2239ad9 formatting 2019-08-27 00:40:59 -07:00
e99019b37f v -> e_xy for cylindrical mode result 2019-08-27 00:40:49 -07:00
f4bac9598d Remove unused waveguide_mode functions 2019-08-26 01:18:44 -07:00
d2d4220313 update example code 2019-08-26 01:12:36 -07:00
337cee8018 Add epsilon arg to compute_overlap_e
currently unused but useful for reusing solve_wgmode arguments
2019-08-26 01:10:54 -07:00
5f96474497 Use e_boundary_source for compute_source 2019-08-26 01:03:13 -07:00
7b56aa363f Use non-vectorized fields for waveguide_mode functions 2019-08-26 01:02:54 -07:00
3887a8804f fix phase in expand_wgmode 2019-08-26 00:28:19 -07:00
d6a34b280e Simplify compute_source and fix propagation direction 2019-08-26 00:28:06 -07:00
1860d754cd Fix shifts applied to E and H fields
Only some components need shifting
2019-08-26 00:27:32 -07:00
7006b5e6e4 Flip propagation direction by flipping H 2019-08-26 00:27:05 -07:00
c306bb1f46 Correct for numerical dispersion at 3d solve_waveguide_mode level 2019-08-26 00:26:54 -07:00
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 2019-08-26 00:25:36 -07:00
41bec05d4e Remove unwanted return 2019-08-26 00:24:17 -07:00
2787908640 Add E variants of waveguide equations
rename 2d vector from v to e_xy or h_xy
2019-08-26 00:21:39 -07:00