3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-25 13:53:40 +01:00
dft_tools/triqs/gfs
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
..
domains Work on compilation speed. 2014-05-02 20:49:19 +02:00
local Fix #112 and put back g +=/-= matrix for imfreq 2014-09-06 19:07:34 +02:00
meshes More prettification: can not --> cannot 2014-07-16 23:30:05 +02:00
block.hpp gf : bug correction in make_block_gf 2014-06-23 16:13:27 +02:00
bz.hpp Correction: left some C++14 used in debug... 2014-02-26 17:49:44 +01:00
CMakeLists.txt [API BREAK] rename directory gf -> gfs 2013-07-29 11:53:02 +02:00
curry.hpp Fix g(k,om) for tests 2014-02-26 16:24:51 +01:00
data_proxies.hpp implement gf_const_view 2013-10-21 15:12:53 +02:00
evaluators.hpp More prettification: can not --> cannot 2014-07-16 23:30:05 +02:00
gf_expr.hpp Fix #112 and put back g +=/-= matrix for imfreq 2014-09-06 19:07:34 +02:00
gf.hpp Fix #112 and put back g +=/-= matrix for imfreq 2014-09-06 19:07:34 +02:00
imfreq.hpp Fix #112 and put back g +=/-= matrix for imfreq 2014-09-06 19:07:34 +02:00
imtime.hpp Fixed antiperiodicity property of imtime 2014-01-20 17:54:33 +01:00
legendre.hpp [API change] gf : factories -> constructors 2013-10-21 15:11:44 +02:00
product.hpp tuple tools : simplify 2014-06-21 21:11:33 +02:00
refreq.hpp work on doc for gf, and details. 2013-12-30 22:32:16 +01:00
retime.hpp work on doc for gf, and details. 2013-12-30 22:32:16 +01:00
tools.hpp Fix #108 (tentatively). 2014-07-24 17:17:16 +02:00