Commit Graph

42 Commits (master)

Author SHA1 Message Date
jan 47dd0df8bc fix operator test 6 years ago
jan 66712efd49 scipy L-BFGS silently converts to float, so view as floats when dealing with it.' 6 years ago
jan 85030448c3 Use L-BFGS instead of CG, and remove rayleigh iteration refinement
scipy CG doesn't seem to converge as well as L-BFGS... worth looking
into later
6 years ago
jan 16f97d7f6b Add ability to set bounds for find_k 6 years ago
jan f312d73503 Return real part of the gradient 6 years ago
jan 39979edc44 implement eigenvalue algorithm from Johnson paper. Could also use arpack + refinement, but that's also slow. 6 years ago
jan 4a9596921f rename search_direction to direction 6 years ago
jan 000cfabd78 switch fft, ifft 6 years ago
jan d09eff990f Update Rayleigh quotient iteration to allow arbitrary linear operators 6 years ago
jan 4aa2d07cef Add Bloch eigenproblem 6 years ago
jan 6503b488ce add farfield.py 7 years ago
jan 4bf8627611 clarify beta -> wavenumber 7 years ago
Jan Petykiewicz 73e3fa18b1 fix cylindrical operator 7 years ago
Jan Petykiewicz ea04fc42be Fix switched args 7 years ago
Jan Petykiewicz a4616982ca Add cylindrical coordinate 2D modesolver code 7 years ago
Jan Petykiewicz bacc6fea3f Move eigensolver code out to separate module 7 years ago
Jan Petykiewicz 001bf1e2ef Clarify eigensolver documentation 7 years ago
jan 17fa2aa3d3 In-place normalization during eigensolve 7 years ago
jan 7342c8efd7 Use ravel instead of flatten for vec() 7 years ago
jan d3c22006bd ie -> i.e. (docs) 7 years ago
jan c14298484d Fix eigenvalue solver for complex matrices 7 years ago
Jan Petykiewicz 6748181f8f use logging module for progress reports 7 years ago
Jan Petykiewicz 9d33744427 Fix docstring for rotation 7 years ago
Jan Petykiewicz 5033472342 Use ravel instead of flatten where possible 7 years ago
Jan Petykiewicz 48ddd9f512 Switch to C-ordered arrays 7 years ago
Jan Petykiewicz 1e80a66b50 add fdtd and test 7 years ago
jan bb53ba44e0 fix spacing 8 years ago
jan 6a56b081e4 add some missing type annotations 8 years ago
jan 685de70af0 Add PECs/PMCs to feature list 8 years ago
jan ec674fe3f4 Add solvers submodule and clean up examples.
Solvers submodule includes a generic solver in case you already have a
sparse matrix solver, or in case you have no solver at all.

Example file now uses alternate solvers if available, and has a nicer
way of picking which solver gets used.
8 years ago
jan 85880c859e Comment cleanup 8 years ago
jan 8daab636ea Cleaner conductor implementation 8 years ago
jan a3dac5c8f8 Add e2h PMC arg, and clarify comments 8 years ago
jan e288e59021 PEC and PMC for all wave operators 8 years ago
jan 16bd864e90 Remove unused import 8 years ago
jan 02ec6d67d6 Fix function case 8 years ago
jan ec825945b6 Fix annotation 8 years ago
jan 2cac441717 Add PEC, PMC options for E, H wave operators 8 years ago
jan 05d2557f6f Style fixes 8 years ago
jan 5bf902212e Comment cleanup 8 years ago
jan 8f202fd061 Add shift_with_mirror, and add shift_distance argument to rotation() 8 years ago
jan 6c1ceb1670 initial development 8 years ago