mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 19:53:45 +01:00
579368f24b
- lazy_fourier and co --> fourier - ex fourier --> make_gf_from_fourier to make a new gf - = fourier (g) works only iif lhs is a view, like scalar. - updated python (commented fourier method).
32 lines
1.2 KiB
Cython
32 lines
1.2 KiB
Cython
############### Density #########################
|
|
|
|
cdef extern from "triqs/gfs/local/functions.hpp":
|
|
matrix_view density(gf_imfreq &)
|
|
matrix_view density(gf_legendre &)
|
|
void enforce_discontinuity(gf_legendre &, array_view[double,TWO])
|
|
|
|
############### Fourier #########################
|
|
|
|
cdef extern from "triqs/gfs/local/fourier_matsubara.hpp" :
|
|
gf_imfreq fourier (gf_imtime & )
|
|
gf_imtime inverse_fourier (gf_imfreq & )
|
|
|
|
cdef extern from "triqs/gfs/local/fourier_real.hpp" :
|
|
gf_refreq fourier (gf_retime & )
|
|
gf_retime inverse_fourier (gf_refreq & )
|
|
#gf_refreq fourier (gf_retime & ) except +
|
|
#gf_retime inverse_fourier (gf_refreq & ) except +
|
|
|
|
############### Legendre #########################
|
|
|
|
cdef extern from "triqs/gfs/local/legendre_matsubara.hpp" :
|
|
gf_imfreq legendre_to_imfreq (gf_legendre &)
|
|
gf_imtime legendre_to_imtime (gf_legendre &)
|
|
gf_legendre imfreq_to_legendre (gf_imfreq &)
|
|
gf_legendre imtime_to_legendre (gf_imtime &)
|
|
|
|
############### Pade #########################
|
|
|
|
cdef extern from "triqs/gfs/local/pade.hpp":
|
|
void pade(gf_refreq &, gf_imfreq &, int, double) except +
|