Commit Graph

24 Commits

Author SHA1 Message Date
Marek Nečada 1b4b397093 Cleanup: eliminate bare abort()s
Former-commit-id: bb1e4ada19e6bcbf87d6ea1fce0897c4478fb045
2020-03-26 19:19:40 +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 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 658c564a0c Some 3D lattice functionality, little refactoring.
Former-commit-id: 8e6572c7352e3b9a75bc13585d688f1c72d378e1
2019-09-07 11:23:16 +03:00
Marek Nečada 703d09a566 Fix reciprocal basis in lattices2d.c. New ewaldshift test gives results consistent with the legacy code.
Former-commit-id: e8c3ab317136614852749fd65a0c1326158eee5e
2018-12-11 22:22:25 +00:00
Marek Nečada f3e1e70b62 l2d unit cell area calculation
Former-commit-id: e714f4fb33669138cb45179f323893b3e996fd78
2018-12-11 06:51:23 +00:00
Marek Nečada 105cf3e993 C lattices: Implement 2D reciprocal basis calculation. Untested.
Former-commit-id: dcea1aead71341bb5e46457ce9b22abfc8b43800
2018-12-10 18:15:37 +02:00
Marek Nečada 47cd2b8c59 Latticegen xyWeb, slightly tested as well.
Former-commit-id: 1a51ed4080f5a17b797b27fb2425052beacfb687
2018-12-07 23:11:08 +00:00
Marek Nečada 530270b5af lattices2d.c implement finding the "base vector hexagon" inscribed sphere radius
Former-commit-id: 075a19b07a8066d31378990470a90c4a7e8689ce
2018-12-06 20:42:11 +00: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 3d83d174bd Fix points2d_rordered_frompoints last layer r;
dump lattices intests/ewalds.c


Former-commit-id: 1addca6a1c240310e86213c283df4162b2536b87
2018-09-12 20:12:49 +03:00
Marek Nečada b707f65d83 Ewald sum first test compiles
Former-commit-id: bb63ffdade407900478c26f2e10bc0ee8efb5154
2018-09-05 18:50:02 +00:00
Marek Nečada e84483b2e8 A stupid shift function for points2d_rordered_t
Former-commit-id: bbba5408081965d8550d78fed5b7569c5cff95b8
2018-08-26 19:36:45 +00:00
Marek Nečada 60e1490d74 "Annulus view" for points2d_rordered_t;
+prototypes for functions inspired by lattices2d.py (not implemented)


Former-commit-id: da46b26573e3fd23b3cb3e8a0fe20c6bc3dff3e6
2018-08-26 16:30:47 +00:00
Marek Nečada cddedad752 hexagonal lattice generator (gives correct results,
but valgrind issues some warnings).


Former-commit-id: ea5ced6206d1a75dccb5e72ebb4775ca3d77bfc3
2018-08-25 12:13:10 +03:00
Marek Nečada 91523005fb Shifted triangular lattices
Former-commit-id: 5d37f291890930d0b3ed6cbcec16ec6eba6077c6
2018-08-25 01:13:27 +03:00
Marek Nečada 883926daac Triang lattice generation fixes; now finally working
Former-commit-id: 27a609231d8a262ebbf93e68f400c664480f5f06
2018-08-24 10:54:49 +03:00
Marek Nečada d9285c28dc Triang. lat. gen. fixes
Former-commit-id: f1bd8375c4a1e10aa922dfa922a18eaa22fe07ce
2018-08-23 14:33:03 +03:00
Marek Nečada e6217bd363 Triangular lattice generator
Former-commit-id: b3b2bdafacb2cc91b1ebb28ed48b1549451e528a
2018-08-23 14:18:27 +03:00
Marek Nečada ca454669d1 Dudom doopravdy
Former-commit-id: bc76e84f71750f47f07a3a08bf49044dc9f1ae70
2018-08-22 19:22:11 +03:00
Marek Nečada ec7edda67e Unfinished generation of equilateral triangular lattices (dudom).
Former-commit-id: 4cc4da2e9755c279aba0d14c296f76de2cbebd04
2018-08-22 17:14:07 +03:00