3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-18 12:03:50 +01:00
Commit Graph

2 Commits

Author SHA1 Message Date
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