Commit Graph

3 Commits

Author SHA1 Message Date
Nils Wentzell 3807534ef8 Fix in dos_tetra_weights_3d: return array<..> instead of array_view<..>
-In triqs version 2.2 array_views no longer own the memory they point to
 This means that array variables that are local to a function should always
 be returned as arrray and never as an array_view
2019-07-02 10:49:35 -04:00
Olivier Parcollet d25bd40560 [plotvasp] Fix #74 compilation error on clang
- fabs for complex ? It is not defined.
- replaced by std::abs.
- How could the code compile before ?
2017-04-05 21:01:12 +02:00
Oleg E. Peil 911f127789 Ported C-style 'dos_tetra' to C++
In order to wrap the ATM routines by Python using TRIQS wrapping
tools it is necessary to modify the interface to 'dos_tetra3d'.
The major changes involved replacing direct NumPy arrays with
TRIQS arrays which can be converted to Python arrays using library
tools.

Also, some small changes were necessary to port the functions
from C99 complex numbers to C++ style.

CMakeList is added to automatize building of the ATM library.
2016-03-09 18:55:15 +01:00