Commit Graph

35 Commits

Author SHA1 Message Date
Marek Nečada 53764f3dd1 Fix qpms_vswf_set_reindex().
continuous-integration/drone/push Build is passing Details
Stupid typo with possibly serious consequences...
2022-06-23 11:34:15 +03:00
Marek Nečada ba06abe13f BaseSpec __eq__() and __hash__()
Former-commit-id: da4245315207dc75a70ca6a036fb8be17e243bf9
2020-04-07 19:32:58 +03:00
Marek Nečada 9b9338be05 Fix critical bug in qpms_vecspharm_fill()
Pointer incrementation in wrong cycle, leading to numerically
completely wrong results in most cases.

At higher level, this seems to have affected only plane wave
decompositions.


Former-commit-id: 7ebdb8b8f3f645d76e924b86379172d2c6fac8dc
2020-04-05 01:43:38 +03:00
Marek Nečada 3ebc1af946 Finer error handling.
Former-commit-id: f30b79d2cc321fc06030374176f5013ff179ffc8
2020-03-23 12:07:43 +02:00
Marek Nečada 2798fcce49 Replace abort() calls with custom macros in vswf.c
Former-commit-id: 43f374a0973d6f0f1d4f7edaba6fcf229223a9cc
2020-03-23 12:04:32 +02:00
Marek Nečada aa82b3a01a Fix allocated array sizes.
Former-commit-id: 7183f7f104df3af58d994d5e485b59cebb4365b3
2020-03-21 16:31:41 +02:00
Marek Nečada 053c4c0b57 T-matrix for axially symmetric particles; untested
Former-commit-id: dfc7a0771a52df097a2afba172bb286369f085a2
2019-08-09 12:55:20 +03:00
Marek Nečada 1b7ede5e1d Implement uvswf plane wave.
Former-commit-id: 591a742362fd311d8d7fbf12b147c8324e077f3c
2019-07-15 13:00:47 +03:00
Marek Nečada bd40daccb7 Rewrite vswf.c to use the new qpms_normalisation_t
Former-commit-id: a623d0cf1c65b6134756e76e1739f189f3d6d53f
2019-07-11 16:57:15 +03:00
Marek Nečada 37b864effc uvswf evaluation with complex kr; ss field ewald done, untested
Former-commit-id: 63048ddf2a9260742510a4fa246a59b8360381ce
2019-06-24 17:20:28 +03:00
Marek Nečada f63f3fbefb uvswf-indexed vswf evaluation
Former-commit-id: adfc6f7b57aafce70f8adfd2abe03432c283320b
2019-06-23 22:04:00 +03:00
Marek Nečada 3630edeff0 Unfinished implementation of field calculation
Former-commit-id: 331b0aa643f69ca9244a15284da4a88cb0f48746
2019-06-20 14:19:23 +03:00
Marek Nečada 1033daf52e Fix lMax_L in qpms_vswf_set_spec_from_lMax().
Former-commit-id: b864e059aaf1108954c3f1a0d343f51450b05284
2019-03-12 13:08:30 +02:00
Marek Nečada 20af81440f Fixes in vswf spec.
Former-commit-id: 87e0dbd73de266801c5bed7e8d3e43aaf4a0ed0e
2019-03-10 13:52:12 +00:00
Marek Nečada c2bdb09f7d Translation coefficients with uvswfi
Former-commit-id: fa02700e9b2dd10a85e1d15c533448f63efb9b93
2019-03-09 07:39:11 +00:00
Marek Nečada fb706b07ae Convenience function to create the 'usual' bspecs.
Former-commit-id: ce4e1cbab81ef251ad44cb58d765b6b19a0179aa
2019-03-09 00:36:22 +00:00
Marek Nečada 8afa775428 Misc fixes.
Former-commit-id: 36525fd6445d1bd19ffbd803644f8ddaada07be7
2019-03-03 00:30:12 +00:00
Marek Nečada f43db34075 T-matrix interpolator.
Former-commit-id: 3ec46a4afa7b92dd928f0b2156b5403780edd827
2019-02-21 13:27:27 +02:00
Marek Nečada f01e9ba34b scatsystem: Comparing T-matrices
Former-commit-id: 3f1f012a8c518926ac8515884de898764807d516
2019-02-21 09:40:30 +00:00
Marek Nečada f5a776ac61 New struct qpms_vswf_set_spec_t for specifying VSWF sets.
Former-commit-id: 56b44a931e68b57a2c786e69e859b3e0514b8a08
2019-02-19 20:56:53 +00:00
Marek Nečada 5e45afad38 indent
Former-commit-id: a56647c77be3363a71248e7ade21dd52b1d515a8
2018-05-06 19:13:10 +00:00
Marek Nečada 5b5e77f985 Kahan sums 3
Former-commit-id: e34f5bbb16a95c4d5517121454a4d5229bcb50c8
2018-03-13 10:57:08 +02:00
Marek Nečada de45a9e38c reorganisation of the code
Former-commit-id: 2efe6a07fa27aa2a159dfa83959e9580b3f53809
2018-02-07 15:39:41 +02:00
Marek Nečada 4dc151d5b9 Correct plane wave decomposition at origin (wrong elsewhere for longitudinal waves
Former-commit-id: 4dc70fde23e31828fb959da429d716bd39e84e47
2018-02-04 15:40:13 +00:00
Marek Nečada dbc118e712 Plane wave decomposition now works for the transversal part (not yet longitudinal)
Former-commit-id: 83dadf35d24a66c7576395f6f156f5e7586551cd
2018-02-04 11:43:42 +00:00
Marek Nečada f458e94995 Plane wave decomposition compiles but yields wrong results.
Former-commit-id: 0cfe82f1efe0e68d41a2f4bf315dfac4618cf435
2018-02-02 14:23:15 +00:00
Marek Nečada 7988b4e942 Dudom
Former-commit-id: 14be6634a87694d70a8b29a5ddf5ec4399b9c691
2018-02-01 17:04:51 +02:00
Marek Nečada 00f9f5234a Jdu do práce
Former-commit-id: 3be0f5adda5334dae7397d21b6d48835a190632d
2018-02-01 04:40:45 +00:00
Marek Nečada 2a7015b80b Rozbil jsem to, jdu domů.
Former-commit-id: 77490824d9a8f975ec4ebe98d8cfa104093884e4
2018-01-30 01:09:48 +02:00
Marek Nečada 155859d8a7 Fix edge legendre signs again
Former-commit-id: 932787e15c101c131bded3ada1034a379da6123c
2018-01-29 17:34:41 +02:00
Marek Nečada bd5aacd7d9 Legendre, pi, tau calculation fixes
Former-commit-id: 98e265cc0c6d73bd3eff3a601096ce84d63cc7a2
2018-01-29 10:13:13 +00:00
Marek Nečada 92e9622b64 Pi, tau auxillary functions. still bugs in the poles.
Former-commit-id: 99d550f5ffa03d001f89e41a07e70652105bdc36
2018-01-28 09:18:06 +00:00
Marek Nečada 3312bc61e2 Práce na vswf ; jdu domů
Former-commit-id: 112c65dcb0de85908b43cd488c63ac14072dc97e
2018-01-26 15:07:29 +02:00
Marek Nečada 37896ad022 dudom
Former-commit-id: cffd4c06ee69fb27f3aacb25508bf1e0532cadc2
2017-12-21 06:35:39 +02:00
Marek Nečada 0df626a194 Rozdělané Legendrovy polynomy por záporná m (jdu spát)
Former-commit-id: c0a0eba0bdc993de7199e57cc9f8a7c9964667a7
2017-12-18 01:04:12 +00:00