3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-28 17:58:18 +01:00
Commit Graph

67 Commits

Author SHA1 Message Date
Nils Wentzell
d8f6932888 Make static analyzers optional 2018-04-06 14:36:07 +02:00
Nils Wentzell
ed918caf40 remove cpp2py header include 2018-03-27 13:55:04 +02:00
Nils Wentzell
f65e5bfbad Further cleanining, switching to static library
-Disable LINTing in test macros with comment // NOLINT
-Enable static analyzers for c++ tests
-Switch app4triqs_c to static library
 Dynamic was pickung up previously installed libapp4triqs_c.so in tests
 Also there is no need to be dynamic for applications
-Fix previous change in HeaderFilterRegex:
 'app4triqs/c++' was blocking all headers for clang-tidy checks.
 'app4triqs' works well, but we cannot install any other headers into
 app4triqs folder structure.
 We thus had to create INSTALL_DIR in travis.yml
2018-03-26 00:31:39 +02:00
Nils Wentzell
e3c4366d54 Enable all compiler warnings, Include Triqs headers as SYSTEM, fix linker for sanitizers 2018-03-25 20:15:49 +02:00
Nils Wentzell
f2d7e84bdd Major update and Cleaning
-consistent indends in all cmake files
-add static analyzer checks with both cppcheck and clang-tidy
-add dynamic analyzer checks with Address Sanitizer and option ASAN
-add dynamic analyzer checks with Undefined Behavior Sanitizer and option UBSAN
-Further Cleaning and Comments
2018-03-25 19:21:18 +02:00
Nils Wentzell
6bf4afd316 Adding cmake config files to install targets, Major cleaning 2018-03-23 16:59:38 +01:00
Nils Wentzell
2b76c51f12 First draft of the triqs application skeleton 2018-03-22 18:16:10 +01:00
Olivier Parcollet
1a0ba43f8d Continued 2018-01-22 17:37:27 -05:00
Olivier Parcollet
ae548d48da WIP 2017-12-07 15:56:05 +01: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
e24933d3fe Removed obsolete files 2017-02-07 09:47:28 +01:00
Oleg E. Peil
5dded633b8 Fixed CMake scripts to properly add a c++ library
First of all, 'c++/plovasp/atm' was erroneously removed after
the last merge with the upstream branch.
Now, the whole subdirectory 'c++' is added.
Also, C++ flags are properly imported from the TRIQS configuration.
2016-03-24 11:40:12 +01:00
Oleg E. Peil
ea87d5bf11 Fixed module and library paths
In version 1.4 all python applications moved from the root python
library to `pytriqs/` subdirectory.
2016-03-11 12:14:31 +01:00
Oleg E. Peil
9acdc5a8f8 Added install command for 'atm_c' target 2016-03-11 10:00:41 +01:00
Oleg E. Peil
88dc1eeb78 Added a simple C-test of the ATM library
The tests are build to be executed by CMake test functionality.
2016-03-09 18:56:59 +01: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
Oleg E. Peil
9ee9083249 Rename directory 'c' to 'c++'
In order to use c++2py tools the C-code must be rewritten to C++.
In particular, instead of direct creation of Numpy arrays STL
containers must be used.
2016-02-11 14:56:28 +01:00