Marek Nečada
3b6fb71f2e
fix qpms_tmatrix_copy
...
Former-commit-id: 42d6e8d194b926da4f2fe766818b72ee6c3b7d70
2020-01-16 10:11:00 +02:00
Marek Nečada
8b8d002d42
Support for constant T-matrix generator in cython.
...
Former-commit-id: 31024cb82d94fad7c1bbb9be91be8041611d6651
2020-01-16 10:08:30 +02:00
Marek Nečada
b6e6554323
Fix imports in symmetries.py
...
Former-commit-id: 54104859c5858f92fdef0250991802629003e144
2019-12-19 05:30:46 +02:00
Marek Nečada
dc5d2cde0b
Upgrades to argproc.py, finite rectangular lattice scatter script.
...
Former-commit-id: 36aba53dc445752cf50e1638883f5a280ccab753
2019-12-14 13:26:40 +02:00
Marek Nečada
ef1c699861
(Temporary) Makefile for calculating benchmark T-matrices
...
Former-commit-id: 2a30fcd6597c317d332224c27d59e60de1b5e5b7
2019-12-14 10:22:48 +02:00
Marek Nečada
fb3e5467d6
Preparations for SCUFF-EM benchmarks
...
Former-commit-id: 9ab0dfb39833e0da0db78680a90984160e24e3e9
2019-12-14 10:22:48 +02:00
Marek Nečada
2f9e5670da
Don't import legacy code to speed up qpms import.
...
Former-commit-id: b34cdc751f6076d0a02ebc6b122abbd8fbe9cde8
2019-12-14 09:17:29 +02:00
Marek Nečada
4c7dd1ee61
cytmatrix interpolator: access frequency table from python
...
Former-commit-id: 69a85dba08347f0c0543ecb7913e0b8e2c20473c
2019-12-14 08:57:19 +02:00
Marek Nečada
f1f2c821df
New CLI argument processing
...
Former-commit-id: d8fba975ccf08a11e0a4515e5af92edb7856f643
2019-12-14 08:54:43 +02:00
Marek Nečada
1dcebe4fee
Add nogil
...
Former-commit-id: 8ef30e7002dace1691ce32815dc24975b5d7131e
2019-11-17 10:05:29 +02:00
Marek Nečada
a712789386
modeproblem matrix parallel implementation to become default
...
Former-commit-id: ddf4ab3b83490de67034107b96272d725dde6a89
2019-11-17 09:59:06 +02:00
Marek Nečada
d1068419f4
Finite square lattice scattering script
...
Former-commit-id: d44c0ecb929378e6ede63548bbc47825dacd6088
2019-11-14 17:23:19 +02:00
Marek Nečada
c9a5661519
Fix invalid pointer in qpms_apply_tmatrix.
...
Former-commit-id: ba9400c3e1a39d472cfdebf7e61ab175c5c8fb6e
2019-11-14 13:36:45 +02:00
Marek Nečada
1821a0d8f5
Try to recover from failed quadrature.
...
Former-commit-id: 746709b224d825baf4a41ddfcd040a0c80fc45c8
2019-11-12 07:18:20 +02:00
Marek Nečada
e4f368f47a
Multi-threaded integration in axial symmetric T-matrix.
...
Former-commit-id: 71dc4ae5978f0dc10d82f4d8450fb2117ba64ce8
2019-11-08 17:43:07 +02:00
Marek Nečada
cfda120a20
Fix sign in Drude-Lorentz model.
...
In our convention, where outgoing wave correspond to
Hankel functions of FIRST kind, the time-harmonic waves carry
(contrary to the more usual electrotechnical convention)
the factor exp(-iωt) and lossy materials are represented
by Im ε > 0, i.e. Im n > 0.
Former-commit-id: 19108c43a31899c2f9196c1a0fc44c5ecae69b5a
2019-11-08 09:36:12 +02:00
Marek Nečada
28f4e7f3d2
Complexify wavenumber in (finite) translation operators.
...
Former-commit-id: f84e1588cdda916d8feda6d807c12bca69512e5f
2019-11-06 18:13:50 +02:00
Marek Nečada
cc9dbb6cc5
Make the additional Drude-Lorentz parameters available from Python
...
Former-commit-id: f08c96459c7cfd07b2adbf4670de59b1ce0b6ea1
2019-11-06 12:04:52 +02:00
Marek Nečada
493ba079e2
Some more Drude-Lorentz data from drudelorentz.com
...
Former-commit-id: 62f7f550e4e72d176690ac2b3532cec9bedb889f
2019-11-04 21:42:19 +02:00
Marek Nečada
d79a35110c
Merge branch 'beyn_rework'
...
Former-commit-id: 3366b1421056a2ac097b79f62bfbccd82d87de1b
2019-11-04 09:43:44 +02:00
Marek Nečada
84acb1ada2
Allow to select only either of long/short range Ewald sum parts
...
(cherry picked from commit 97b7782291380193835c23a4f0ea04ff5f44273e [formerly 41b1a76d5ed571b507abc0515b3cba60e8c0ccca])
Former-commit-id: 4d51186e653babfdc84fc45a4ab70a3ffdc02eee
2019-11-04 09:38:23 +02:00
Marek Nečada
4dd3234b0a
Remove the branch cut at negative real axis in Ewald sum.
...
Move the cut to the negative imaginary axis instead.
Also update comments.
Former-commit-id: a70e6a4db0ac33836d672d9ee2356ea19a899a30
2019-10-09 13:20:20 +03:00
Marek Nečada
acff55f396
Extend hardcoded T-matrix similarity tolerance.
...
Also some cython functions->properties.
Former-commit-id: 4a0605b1cf8b857c681f194a475ff3f10e7dfe71
2019-10-07 15:15:34 +03:00
Marek Nečada
e7f0e0131f
Basic branch selection functionality for incomplete Γ.
...
No modifications with effects on Ewald sums done yet.
Former-commit-id: e362341713ce306482386b9e6f2a48c336fad7a1
2019-10-06 01:30:29 +03:00
Marek Nečada
2dd9fe2f34
Minor stuff.
...
Former-commit-id: c0de35f6a52ce4cc4f34cf4b417364d92e8dac4d
2019-10-05 20:38:04 +03:00
Marek Nečada
aa86fcfb08
Expose low-level scalar Ewald sums via cython.
...
Former-commit-id: 9910decff1e8e91c802f0f8d10573ec430dda468
2019-10-03 00:52:14 +03:00
Marek Nečada
2d891be12f
ewald.h cleanup
...
Former-commit-id: c02360cfa9df1dac06897883115cafc98a912107
2019-10-02 20:11:25 +03:00
Marek Nečada
0239a3c9a1
Fix memset size in Mie T-matrix generator.
...
Former-commit-id: 244dad82dec42fdc1e08cc12205e373711465622
2019-10-02 17:53:01 +03:00
Marek Nečada
79e6c47f94
Beyn integration contours to pxd
...
Former-commit-id: d33de9a694ea7d5600a627062c7119e8483d753e
2019-10-01 11:52:29 +03:00
Marek Nečada
c7f2e32ee4
Free unfinished PGens from Ewald sums.
...
Also replace some bare `if (xxx) abort();` with
`QPMS_ENSURE_SUCCESS(xxx)`.
Former-commit-id: d4712292fe0f9fb397cf3a490131bcb37d542fa6
2019-10-01 11:29:15 +03:00
Marek Nečada
7e74cb100c
Experimental speedup by earlier cutoff for Ewald summation.
...
TODO check whether PGen is properly destroyed
Former-commit-id: db2c64292b9c1bd80e97255bf71e570385b409a4
2019-09-30 17:57:06 +03:00
Marek Nečada
dad170b8fe
Kidney contour basic test
...
Former-commit-id: 861cf5f9a8409db360e48db74274f20069b94391
2019-09-30 10:54:10 +03:00
Marek Nečada
f940e62e52
Test and fix the rounded half-ellipse contour..
...
Former-commit-id: 448c30d375b3f9d0abab9442ae00bfcd123e5cb9
2019-09-30 08:53:57 +03:00
Marek Nečada
d6084f3264
WIP Alternative integration contour (untested)
...
Former-commit-id: c82da58ac33364797d7175a69feed475184937d9
2019-09-29 22:32:53 +03:00
Marek Nečada
2e7b925be2
WIP trying to fix the half-ellipse contour.
...
Former-commit-id: cbba6fffacbb38322a590478899f38c7d7dafe8e
2019-09-26 11:36:41 +03:00
Marek Nečada
b3c3eeb2a2
Fix derivatives in integration contours.
...
Former-commit-id: 7575a69a82eb19126aaac9aede9f170815b6015a
2019-09-26 10:09:35 +03:00
Marek Nečada
2fcc6282fa
"Half-ellipse" integration contour.
...
Former-commit-id: 800079fba837d65f84af62d5adfad177a6aa3cdf
2019-09-26 10:09:35 +03:00
Marek Nečada
67f93e461c
Ewald translation calculator function using base specs.
...
Former-commit-id: d49880caa280cc089fa688d0cdeccb95db7cb64b
2019-09-23 08:59:18 +03:00
Marek Nečada
6445c3523e
Experiments with Beyn's algorithm and singularities.
...
It seems that everything is fine in the end except
essential singularities inside the contour.
Former-commit-id: 9fe7135cb30d1fff1dc3ff9bf8a9152c6b0ef9b4
2019-09-17 15:14:09 +03:00
Marek Nečada
42931eb0a0
Additional test to Beyn solver (Example 4.9).
...
Former-commit-id: 63a78fa09fd3875e5d10b6b4fb6eea72010cfcee
2019-09-17 14:11:23 +03:00
Marek Nečada
bd0b8a83e9
Beyn: functionality for testing if points are inside contour.
...
Former-commit-id: 5c88b6e9aa4308201871a9b19c8d20c04b93a718
2019-09-17 07:58:59 +03:00
Marek Nečada
9d0f910bba
Some comments to beyn.c
...
Former-commit-id: cc756b3343a9290f3b3b8c79cec75559b11a952f
2019-09-17 07:17:04 +03:00
Marek Nečada
e8a2426b55
Handle k->0 in Ewald sum.
...
Former-commit-id: fb61b297ead4828541b763b2ecdb0c81de1d35f1
2019-09-16 12:37:32 +03:00
Marek Nečada
2762ada49c
Beyn: keep singular values from rank test
...
Former-commit-id: eb82025e460575335f9d6e3d9acb3cfdfe8867f0
2019-09-16 08:02:31 +03:00
Marek Nečada
ecbf5b10d4
Fix infinite loop in empty lattice modes generation
...
Former-commit-id: 1349035090712935a0d77d64c175e4358fb4d487
2019-09-13 16:20:39 +03:00
Marek Nečada
b45bdcd49a
Bug fixes mostly in lattice generators.
...
Former-commit-id: 1fbed5865f20b7191b31fe24d263bd16baca7fa7
2019-09-13 15:51:19 +03:00
Marek Nečada
e910de936e
2d empty lattice modes pxd; fix a corner case.
...
Former-commit-id: aa33c85a6a0d2107caef752900690f471cc6350f
2019-09-13 13:18:23 +03:00
Marek Nečada
0f03509dde
Mode frequency calculations for empty lattices.
...
Former-commit-id: ca14f8d765399c5bf92bb64cc7f1dc6722d53ebb
2019-09-13 11:52:56 +03:00
Marek Nečada
11aa48d2da
Beyn minor fixes, cleaner API.
...
Former-commit-id: 44d7147a14194a7b8e5a66552dd3855029b9e370
2019-09-10 14:54:08 +03:00
Marek Nečada
3bc59096bc
Public beyn_result_gsl_t -> beyn_result_gsl_t convertor.
...
Former-commit-id: 56fb70384c20b93dbc8b119c6b5b4128ce4fcaf9
2019-09-10 14:04:56 +03:00