Commit Graph

335 Commits

Author SHA1 Message Date
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
054ac994d5 Don't perform dx_prop wavenumber correction in waveguide_mode_2d
It's technically a correction for discretization in the third direction
2019-08-26 00:17:52 -07:00
0503e9d6ef Fix shift_with_mirror() for C-ordered arrays 2019-08-26 00:16:45 -07:00
b466ed02ea Add e_boundary_source 2019-08-26 00:16:27 -07:00
ccdb423ba2 add e_tfsf_source 2019-08-26 00:15:34 -07:00
aade81c21e alternate src formulation 2019-08-07 02:27:04 -07:00
07c94617fe Operator-based soruce 2019-08-07 01:01:55 -07:00
1a04bab361 Fixup slices 2019-08-07 01:01:35 -07:00
2c91ea249f Fix wgmode expansion 2019-08-07 01:00:57 -07:00
3429120993 d_prop -> dx_prop 2019-08-07 01:00:21 -07:00
938c4c9a35 move to 3xnnn arrays 2019-08-05 01:09:52 -07:00
5951f2bdb1 various fixes and improvements 2019-08-05 00:20:06 -07:00
94ff3f7853 further fdfd_tools->meanas updates 2019-08-04 14:13:51 -07:00
f61bcf3dfa rename to meanas and split fdtd/fdfd 2019-08-04 13:48:41 -07:00
25cb83089d modernize setup.py 2019-08-04 03:06:32 -07:00
3d07969fd2 rename examples to avoid triggering pytest 2019-08-04 03:06:14 -07:00
557a3b0d9c Remove unused test code and tighten tolerances 2019-08-04 02:53:04 -07:00
32055ec8d3 Use pytest for testing; generalize existing fdtd tests 2019-08-04 02:50:09 -07:00
06a491a960 don't throw out our newly-reduced slices... 2019-08-03 12:12:18 -07:00
1489308837 Comment capitalization fix 2019-08-03 12:11:45 -07:00
1793e8cc37 move to 3xNxMxP arrays 2019-08-01 23:48:25 -07:00
1d9c9644ee input shouldn't be sliced with expanded slices 2019-08-01 23:17:13 -07:00
56a1349959 Add missing return 2019-08-01 23:16:32 -07:00
f2d061c921 Test poynting planes on both half-steps 2019-07-24 22:42:36 -07:00
b4bbfdb730 remove old logging stuff 2019-07-24 22:42:31 -07:00
39c05d2cab no reason to demand float32 yet 2019-07-22 00:27:48 -07:00
89976647f2 test (and fix tests) for constant non-1 dxes
Still need to look at non-constant dxes
2019-07-22 00:27:32 -07:00
7092c13088 better error messages when tests fail 2019-07-22 00:26:34 -07:00
f1fc308d25 Add JdotE test 2019-07-21 22:06:57 -07:00
7f8a326114 Loosen tolerances on tests 2019-07-21 22:06:24 -07:00
30ddeb7b73 fix typo in fdfd.vec() 2019-07-21 22:05:40 -07:00
223b202d03 More test cases 2019-07-19 00:19:47 -07:00
fb3c88a78d add test_poynting_planes 2019-07-19 00:19:32 -07:00
950e70213a Consolidate variables in test case setups 2019-07-18 00:03:32 -07:00
f858cb8bbb Fix poynting e2h test 2019-07-17 23:48:04 -07:00
2cec4fabaf Account for dxes 2019-07-17 23:47:45 -07:00
a528effd89 add some more tests 2019-07-17 00:51:28 -07:00
935b2c9a80 remove extra dt 2019-07-17 00:51:13 -07:00