3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-24 13:23:37 +01:00
Go to file
Olivier Parcollet 7cf7d09c77 Fix #112 and put back g +=/-= matrix for imfreq
- The issue comes from the fact that the default generated
  += and co by the Python API is the one for immutable types, like int.
- Indeed, in python, for an int :
  x=1
  id(x)
  140266967205832
  x+=1
  id(x)
  140266967205808
- For a mutable type, like a gf, it is necessary to
  add explicitly the xxx_inplace_add functions.
- Added :
   - the generation of the inplace_xxx functions
   - a method in class_ in the wrapper generator that
     deduce all += operator from the + operators.
   - this assumes that the +=, ... are defined in C++.
   - The generation of such operators are optional, with option
     with_inplace_operators in the arithmetic flag.
- Also, added the overload g += M and g -= M for
  g : GfImfreq, M a complex matrix.
  Mainly for legacy Python codes.
2014-09-06 19:07:34 +02:00
cmake desc generator : minor cleaning 2014-07-27 15:38:22 +02:00
doc doc: adapt to new web site subdirectory 2014-07-23 17:25:02 +02:00
foreignlibs doc : split c++ code from rst 2014-05-31 23:00:16 +02:00
packaging/os_x rm obsolete brew boost 2014-07-24 20:44:41 +02:00
pytriqs Fix #112 and put back g +=/-= matrix for imfreq 2014-09-06 19:07:34 +02:00
shells Better name for run_pytriqs_for_test 2013-08-02 10:15:05 +02:00
test Fix #112 and put back g +=/-= matrix for imfreq 2014-09-06 19:07:34 +02:00
triqs Fix #112 and put back g +=/-= matrix for imfreq 2014-09-06 19:07:34 +02:00
.clang-format mc_tools: simplify measure_aux 2014-01-30 20:28:30 +01:00
ChangeLog Remove Cython & prepare wrapper for applis. 2014-05-30 19:34:13 +02:00
CITATIONS.bib First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
CMakeLists.txt desc wrapper generator: small improve, clean 2014-07-26 18:37:20 +02:00
COPYING.txt First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
LICENSE.txt First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
README.txt First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00

 
The TRIQS website is under http://ipht.cea.fr/triqs. Start there
to learn about TRIQS.

To install TRIQS, follow the installation steps given under
http://ipht.cea.fr/triqs/doc/user_manual/install/install.html

Before you proceed, make sure you have read the LICENSE.txt file.

Enjoy!

The TRIQS team