Commit Graph

1181 Commits

Author SHA1 Message Date
Marek Nečada 5af1fd7734 Replace "complex" with "_Complex" in headers
Needed for compatibility with C++ (in which "complex" is
a template).
2022-06-22 12:33:48 +03:00
Marek Nečada d640176d62 Expressing VSWF in terms of SSWF 2022-06-22 12:33:48 +03:00
Marek Nečada bac3c3276d Indexing documentation, pedantic use of qpms_y_sc_t 2022-06-22 12:33:48 +03:00
Marek Nečada 7e318fc6cd Remove duplicit function declaration.
qpms_scatsysw_scattered_field_basis()
2022-06-22 12:33:48 +03:00
Marek Nečada 9e9f70cf65 analysis: fix symmetry group info 2022-06-22 12:33:48 +03:00
Marek Nečada 030a96d56f Analysis script also for finiterectlat constant driving results 2022-06-22 12:33:48 +03:00
Marek Nečada 2c12d28c70 Expose more testing functions via cython api. 2022-06-22 12:33:48 +03:00
Marek Nečada fed391b20c analysis.py: fix duplicities in position mapping due to rounding errors 2022-06-22 12:33:48 +03:00
Marek Nečada 679ee72bee Helper class to analyse results of finiterectlat-modes.py 2022-06-22 12:33:48 +03:00
Marek Nečada dc0d030ef0 WIP fixing some example scripts 2022-06-22 12:33:48 +03:00
Marek Nečada 798d6e7943 Move old cython translation_calculator wrapper 2022-06-22 12:33:48 +03:00
Marek Nečada 7599c22d06 Attempt to fix the Ewald sum SSWF phase bug 2022-06-22 12:33:48 +03:00
Marek Nečada 788a990a29 Revert scatsystem cython parallelisation.
It didn't work correctly on my laptop.
This must be reviewed later, as the waiting is annoying.
2022-06-22 12:33:48 +03:00
Marek Nečada 1e5418e7d0 Dirty fix of the otherwise non-literal arrays. 2022-06-22 12:33:48 +03:00
Marek Nečada a66dd24f89 Cython evaluation of "normal" and Ewald-summed SSWF 2022-06-22 12:33:48 +03:00
Marek Nečada 94e218c459 ScatteringSystem, ... definitions to pxd file 2022-06-22 12:33:48 +03:00
Marek Nečada 3a8e5b99cb SSWF evaluation functions for debugging Ewald sum. 2022-06-22 12:33:48 +03:00
Marek Nečada 6ccd785164 Additional phase factors in Ewald sum for debugging 2022-06-22 12:33:48 +03:00
Marek Nečada e486e04e2f WIP documentation on phase/normalisation implementation. 2022-06-22 12:33:48 +03:00
Marek Nečada fd588b7c02 Ewald summation consistency test for lattice basis fields.
In-plane test currently passes, out-of-plane does not.
2022-06-22 12:33:48 +03:00
Marek Nečada 2cef16834a finiterect-constant-driving more metadata output 2022-06-22 12:33:48 +03:00
Marek Nečada c0ee750f5d Remove bugs of removed code from BUGS.rst.
Some of the other bugs might have been already fixed
as well, this has to be reviewed, and also doxygenised.
2022-06-22 12:33:48 +03:00
Marek Nečada 8abe7e3357 Enable separation of long- and short-range of Ewald sum in python 2022-06-22 12:33:48 +03:00
Marek Nečada 5fdbb362a3 Fix prange race conditions. 2022-06-22 12:33:48 +03:00
Marek Nečada 478b010a15 "Basis fields" for finite systems.
There seem to be race conditions in the prange'd cython parts.
2022-06-22 12:33:48 +03:00
Marek Nečada 9e350cdac6 "Basis fields" for finite systems 2022-06-22 12:33:48 +03:00
Marek Nečada f9620e1d11 Fix saving lists of arrays with recent versions of numpy 2022-06-22 12:30:02 +03:00
Marek Nečada 5e4f9130fb Disable "hard" examples in CI 2022-06-21 15:13:20 +03:00
Marek Nečada 03e5be17f9 Add bc to CI common prerequisities (required to run examples)
continuous-integration/drone/push Build was killed Details
2022-06-21 09:54:24 +03:00
Marek Nečada 74ce35605b Run some working examples in CI
continuous-integration/drone/push Build is failing Details
2022-06-21 09:41:37 +03:00
Marek Nečada 2a85b16347 sympy fix deprecated cyclic printing init
continuous-integration/drone/push Build is passing Details
2022-06-21 09:35:36 +03:00
Marek Nečada ac0d322246 Initial qpms version metadata in library and output files
continuous-integration/drone/push Build is passing Details
Merge branch 'versioning'
2022-06-21 08:53:18 +03:00
Marek Nečada a1472f3db6 Version metadata into output files
continuous-integration/drone/push Build is failing Details
2022-06-21 08:50:12 +03:00
Marek Nečada 260b053102 Fix __version__, pdf annotate function 2022-06-21 08:49:23 +03:00
Marek Nečada 78992188fd Initial version info in the C library
continuous-integration/drone/push Build is failing Details
Cmake modules taken from https://github.com/rpavlik/cmake-modules
see also https://stackoverflow.com/q/1435953
2022-06-21 06:25:22 +03:00
Marek Nečada e7f7cd38d2 Trustworthier source for zbessel submodule
continuous-integration/drone/push Build is passing Details
2022-06-16 07:41:32 +03:00
Marek Nečada b525c66043 Initial CI workflow for Drone
continuous-integration/drone/push Build is passing Details
2022-06-16 02:25:17 +03:00
Marek Nečada e69b927ec3 List of public mirrors 2022-06-10 12:43:16 +03:00
Marek Nečada 2731a87ef7 Installation on Android. 2022-06-07 07:07:37 +03:00
Marek Nečada 3a34effe34 Don't import qpms_p in __init__, remove scipy from install dependencies 2022-06-07 06:10:24 +03:00
Marek Nečada 1aac5de903 Replace scipy.constants with own constants module. 2022-06-07 05:55:36 +03:00
Marek Nečada 87c2fd24fe Use detected libraries in CMakeLists.txt instead of hardcoded ones.
Should fix some issues while building/linking libqpms.so;
still needs to be somehow done in the Python part as well.
2022-06-06 12:07:25 +03:00
Marek Nečada aea0afee15 Fix unitialised diagonal blocks in full modeproblem matrix.
The bug in qpms_scatsysw_build_modeproblem_matrix_full()
via qpms_scatsysw_scatsyswk_build_modeproblem_matrix_full()
affected finite-size arrays: instead of filling the diagonal
interaction blocks with zeros, they were filled with undefined
values from a superfluous zgemm() call.
2021-12-21 11:36:58 +02:00
Kristian Arjas 77a3566aba Fix MaterialInterpolator memory issue 2021-10-27 23:51:54 +03:00
Kristian Arjas 24a6ea01d7 Include vlen in the solver (yet another regression from 087cd1c) 2021-09-21 09:59:26 +03:00
Kristian Arjas 50a5aa11a6 Add residual to solver (fix regression from 087cd1c) 2021-09-15 16:46:13 +03:00
Marek Nečada 572e15edbb Merge branch 'python_tmg': T-matrix generators from python functions 2021-08-23 08:42:50 +03:00
Marek Nečada b12fc991e5 Custom python T-matrix generator test. 2021-08-23 08:39:27 +03:00
Marek Nečada a5b137847a Custom python T-matrix generators 2021-08-22 09:01:16 +03:00
Marek Nečada 314cde1b99 BaseSpec "constructor" from C pointer. 2021-08-21 19:05:49 +03:00