2013-07-17 19:24:07 +02:00
|
|
|
from dcomplex cimport *
|
|
|
|
from arrays cimport *
|
|
|
|
from libcpp.vector cimport vector
|
|
|
|
from libcpp.string cimport string as std_string
|
|
|
|
from shared_ptr cimport *
|
|
|
|
from extractor cimport *
|
|
|
|
from h5 cimport *
|
|
|
|
|
|
|
|
# -------------------- Some generic tools -------------------------------
|
|
|
|
|
2013-07-28 13:28:19 +02:00
|
|
|
cdef extern from "triqs/gf/tools.hpp" namespace "triqs::gfs" :
|
|
|
|
cdef enum statistic_enum "triqs::gfs::statistic_enum" :
|
2013-07-17 19:24:07 +02:00
|
|
|
Boson,Fermion
|
|
|
|
|
|
|
|
cdef cppclass nothing :
|
|
|
|
nothing ()
|
|
|
|
|
|
|
|
cdef cppclass freq_infty:
|
|
|
|
freq_infty ()
|
|
|
|
|
2013-07-28 13:28:19 +02:00
|
|
|
cdef cppclass mesh_pt_generator "triqs::gfs::mesh_pt_generator" [MeshType] :
|
2013-07-17 19:24:07 +02:00
|
|
|
mesh_pt_generator( MeshType * )
|
|
|
|
mesh_pt_generator()
|
|
|
|
complex to_point()
|
|
|
|
mesh_pt_generator operator++()
|
|
|
|
bint at_end()
|
|
|
|
void increment()
|
|
|
|
|
|
|
|
cdef cppclass indices_2_t :
|
|
|
|
indices_2_t( )
|
|
|
|
indices_2_t( vector[vector[std_string]] &)
|
|
|
|
vector[std_string] & operator[](int)
|
|
|
|
vector[vector[std_string]] & operator()()
|
|
|
|
bint same()
|
|
|
|
|
2013-07-28 13:28:19 +02:00
|
|
|
cdef extern from "triqs/gf/meshes/linear.hpp" namespace "triqs::gfs" :
|
2013-07-17 19:24:07 +02:00
|
|
|
|
2013-07-28 13:28:19 +02:00
|
|
|
cdef enum mesh_enum "triqs::gfs::mesh_kind":
|
2013-07-17 19:24:07 +02:00
|
|
|
half_bins, full_bins, without_last
|
|
|
|
|
2013-07-28 13:28:19 +02:00
|
|
|
cdef extern from "triqs/gf/block.hpp" namespace "triqs::gfs" :
|
2013-07-17 19:24:07 +02:00
|
|
|
|
|
|
|
cdef cppclass discrete_domain :
|
|
|
|
discrete_domain ()
|
|
|
|
discrete_domain (vector[std_string] &)
|
|
|
|
vector[std_string] & names()
|
|
|
|
|
|
|
|
cdef cppclass discrete_mesh :
|
|
|
|
discrete_mesh ()
|
|
|
|
discrete_mesh (discrete_mesh &)
|
|
|
|
discrete_domain & domain()
|
|
|
|
long size()
|
|
|
|
bint operator ==( discrete_mesh &)
|
|
|
|
|
|
|
|
include "tail.pxd"
|
|
|
|
include "imfreq.pxd"
|
|
|
|
include "imtime.pxd"
|
|
|
|
include "refreq.pxd"
|
|
|
|
include "retime.pxd"
|
|
|
|
include "legendre.pxd"
|
|
|
|
include "two_real_times.pxd"
|
|
|
|
|