Commit Graph

38 Commits

Author SHA1 Message Date
Marek Nečada 89f7400c71 vectors.h explicit type conversions for C++ compatibility 2022-03-30 09:59:04 +03:00
Marek Nečada b04a4deebe Replace "complex" with "_Complex" in headers
Needed for compatibility with C++ (in which "complex" is
a template).
2022-03-30 09:06:47 +03:00
Marek Nečada 3f266f5501 More cdefs from vectors.h
Former-commit-id: f1aa88cd3e4dbe2bccc1b7c3648cd9afe08da0c1
2020-04-05 02:19:48 +03:00
Marek Nečada f994514aeb General heap-based lattice point generator compiles, untested.
Former-commit-id: 8106cf72ad1d96426c2273493499db48d232f642
2020-02-25 17:59:33 +02:00
Marek Nečada bf49531666 Experimental support for periodic lattices in scatsys "constructor".
Former-commit-id: 69727f4d415866b948af83c55ed8adb46b651f16
2020-02-14 16:35:55 +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 b45bdcd49a Bug fixes mostly in lattice generators.
Former-commit-id: 1fbed5865f20b7191b31fe24d263bd16baca7fa7
2019-09-13 15:51:19 +03:00
Marek Nečada 658c564a0c Some 3D lattice functionality, little refactoring.
Former-commit-id: 8e6572c7352e3b9a75bc13585d688f1c72d378e1
2019-09-07 11:23:16 +03:00
Marek Nečada 3e6f004605 Compiler warnings, doxygen fixes
Former-commit-id: 2686ab2db0a61327db1ef5ce3799f3e88fea0f49
2019-08-16 11:17:59 +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 02a8161d3e Vector.h more convenience inlines
Former-commit-id: 4e0b0331fdb50192e9518d017f6bbc46fdf1fe1b
2019-07-14 23:55:45 +03:00
Marek Nečada 8eb0f9f2ea Convertors between csph_t and ccart3_t
Former-commit-id: 0d081dc430d23d8431c8b22d2d9a22de5ba86695
2019-07-14 23:26:03 +03:00
Marek Nečada 22a76ec7ec PGen "fetch" methods: generate multiple points at once
Former-commit-id: f53d71ef88f53ed4db0d127b7edad1ebcb0e766d
2019-06-27 10:13:39 +03:00
Marek Nečada d8a13f5e6d vectors.h docs + more conversion functions
Former-commit-id: 28a2b617273f4fd9dea0c78f93edab55c29ca791
2019-06-26 10:14:27 +03:00
Marek Nečada b8b4497b12 vector.h new features (complex-kr) and syntax fixes
Former-commit-id: adc38be811b059f9eca4a119131da7250b709eec
2019-06-24 14:59:37 +03:00
Marek Nečada c29a284bc6 scatsystem field evaluation (WIP)
Former-commit-id: ee0ad31050cf194a0a6e0fcd5a176b568e1d2064
2019-06-23 23:33:08 +03:00
Marek Nečada dd70c60db4 Towards a new scattering system (scatsystem.c compiles, but with some
warnings).


Former-commit-id: 8e873fa9eeed41d5384aac4844fdebf768063fe8
2019-02-26 15:33:08 +02:00
Marek Nečada 8829f50c53 Fix typedef syntax in vectors.h
Former-commit-id: 07ab007347ec17d4840755620bc063ef0ec10523
2019-02-22 06:22:56 +00:00
Marek Nečada c5600a8558 qpms_finite_group_t and hard-coded group code generator
Former-commit-id: dca27ced8fda8b33e86a89fdba802172d71d9c10
2019-02-21 17:38:43 +02:00
Marek Nečada 5fca79fc9e Using hypot for 2d norm
Former-commit-id: eb0c5824286c4a56ab5ac068972d13a42aa78838
2018-12-22 03:25:41 +00:00
Marek Nečada 3972f0a2e3 ewald.c fix new init memory management.
Former-commit-id: 582e34027bad4bd1ee017886d3dc2120a8c0bf3c
2018-12-11 11:09:38 +00:00
Marek Nečada 0719043653 Polar and 2D cartesian coordinate conversions
Former-commit-id: 0fee2d7c0f9a0f26267887e563ad237efb5be8ed
2018-12-06 22:25:59 +00:00
Marek Nečada 45eadd13db fix z-axis latticegen
Former-commit-id: ab81c5470a3e8831f3ca38dbed54cf7c5d04ce90
2018-11-29 16:19:09 +02:00
Marek Nečada 2a5dcd3230 Start implementing the nice functions from lattices.h
Former-commit-id: 4f00c873044ef941e09ccfb5739b35e2a81f01f6
2018-10-11 10:33:53 +03:00
Marek Nečada 2b00af241e More 2d vectors features
Former-commit-id: d260aeb125cbefaefcadd375c148ce06e8ba96be
2018-05-14 23:15:29 +00:00
Marek Nečada 4bfd0ce717 Some 2d cartesian vector functions
Former-commit-id: f5de4b53cee352d5c1866dfc0a771f462b50af7a
2018-05-14 18:00:38 +00:00
Marek Nečada 75e0d135d3 csphvec_reldiff version with tolerance
Former-commit-id: f2ddb1fd9c55aff96b1e9f4145cb93bf255b6318
2018-05-12 06:09:13 +00:00
Marek Nečada e55847425a different tests of vswf translations
csphvec_t norm and relative difference functions


Former-commit-id: 39addcec6e5429e82698751427ffca03168569e3
2018-05-11 14:29:58 +00:00
Marek Nečada ad2815434a Kahan sums 2
Former-commit-id: 0d8c588c1770d76fd7db37e003e357f0b1bc4988
2018-03-13 10:54:32 +02:00
Marek Nečada cf340560af Kahan sums 1
Former-commit-id: e3a1c66347d2bb05162560b526618eb8c248de04
2018-03-13 10:54:07 +02: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 55d618143b separate C header file for types
Former-commit-id: 0c9797b04726c1d027a1eca96a5a7db3231403fc
2017-12-17 17:02:58 +02:00
Marek Nečada 34940fc7e9 Koefficient A a testy. Kompiluje, většinou funguje, někdy nan
Former-commit-id: 3303493088dc8edca027fb93d49d62166e71544e
2017-04-12 14:27:22 +03:00
Marek Nečada b8eff3eb77 Dudom
Former-commit-id: cf2eb302d096612df04c204ca0dcee71a0776672
2017-04-10 13:48:06 +03:00