3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-31 11:13:46 +01:00

[API BREAK] rename directory gf -> gfs

This commit is contained in:
Olivier Parcollet 2013-07-29 09:57:07 +02:00
parent 7847b71552
commit bd4926157c
63 changed files with 83 additions and 83 deletions

View File

@ -7,5 +7,5 @@
#set_property(GLOBAL APPEND PROPERTY SPHINX_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/det_manip.rst)
# Doxygen sources
set_property(GLOBAL APPEND PROPERTY DOXYGEN_SOURCES ${TRIQS_SOURCE_DIR}/triqs/gf/gf.hpp)
set_property(GLOBAL APPEND PROPERTY DOXYGEN_SOURCES ${TRIQS_SOURCE_DIR}/triqs/gfs/gf.hpp)

View File

@ -1,17 +1,17 @@
############### Density #########################
cdef extern from "triqs/gf/local/functions.hpp":
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/gf/local/fourier_matsubara.hpp" :
cdef extern from "triqs/gfs/local/fourier_matsubara.hpp" :
gf_imfreq lazy_fourier (gf_imtime & )
gf_imtime lazy_inverse_fourier (gf_imfreq & )
cdef extern from "triqs/gf/local/fourier_real.hpp" :
cdef extern from "triqs/gfs/local/fourier_real.hpp" :
gf_refreq lazy_fourier (gf_retime & )
gf_retime lazy_inverse_fourier (gf_refreq & )
gf_refreq fourier (gf_retime & ) except +
@ -19,7 +19,7 @@ cdef extern from "triqs/gf/local/fourier_real.hpp" :
############### Legendre #########################
cdef extern from "triqs/gf/local/legendre_matsubara.hpp" :
cdef extern from "triqs/gfs/local/legendre_matsubara.hpp" :
gf_imfreq lazy_legendre_imfreq (gf_legendre &)
gf_imtime lazy_legendre_imtime (gf_legendre &)
gf_legendre lazy_imfreq_legendre (gf_imfreq &)
@ -27,5 +27,5 @@ cdef extern from "triqs/gf/local/legendre_matsubara.hpp" :
############### Pade #########################
cdef extern from "triqs/gf/local/pade.hpp":
cdef extern from "triqs/gfs/local/pade.hpp":
void pade(gf_refreq &, gf_imfreq &, int, double) except +

View File

@ -8,7 +8,7 @@ from h5 cimport *
# -------------------- Some generic tools -------------------------------
cdef extern from "triqs/gf/tools.hpp" namespace "triqs::gfs" :
cdef extern from "triqs/gfs/tools.hpp" namespace "triqs::gfs" :
cdef enum statistic_enum "triqs::gfs::statistic_enum" :
Boson,Fermion
@ -33,12 +33,12 @@ cdef extern from "triqs/gf/tools.hpp" namespace "triqs::gfs" :
vector[vector[std_string]] & operator()()
bint same()
cdef extern from "triqs/gf/meshes/linear.hpp" namespace "triqs::gfs" :
cdef extern from "triqs/gfs/meshes/linear.hpp" namespace "triqs::gfs" :
cdef enum mesh_enum "triqs::gfs::mesh_kind":
half_bins, full_bins, without_last
cdef extern from "triqs/gf/block.hpp" namespace "triqs::gfs" :
cdef extern from "triqs/gfs/block.hpp" namespace "triqs::gfs" :
cdef cppclass discrete_domain :
discrete_domain ()

View File

@ -1,4 +1,4 @@
cdef extern from "triqs/gf/imfreq.hpp" namespace "triqs::gfs" :
cdef extern from "triqs/gfs/imfreq.hpp" namespace "triqs::gfs" :
cdef cppclass imfreq_domain :
double beta
@ -27,7 +27,7 @@ cdef extern from "triqs/gf/imfreq.hpp" namespace "triqs::gfs" :
array_view[dcomplex, THREE] data()
tail singularity()
cdef extern from "triqs/gf/imfreq.hpp" :
cdef extern from "triqs/gfs/imfreq.hpp" :
cdef void h5_write (h5_group, char *, gf_imfreq &)
cdef extern from "triqs/utility/serialization.hpp" :
@ -42,7 +42,7 @@ cdef make_GfImFreq (gf_imfreq x, indices_pack=*, name=*)
############### Blocks of Im Freq #########################
cdef extern from "triqs/gf/block.hpp" namespace "triqs::gfs" :
cdef extern from "triqs/gfs/block.hpp" namespace "triqs::gfs" :
cdef cppclass gf_block_imfreq "triqs::python_tools::cython_proxy<triqs::gfs::gf_view<triqs::gfs::block_index,triqs::gfs::gf<triqs::gfs::imfreq>>>" :
gf_block_imfreq()

View File

@ -1,4 +1,4 @@
cdef extern from "triqs/gf/imtime.hpp" namespace "triqs::gfs" :
cdef extern from "triqs/gfs/imtime.hpp" namespace "triqs::gfs" :
cdef cppclass imtime_domain :
double beta
@ -28,7 +28,7 @@ cdef extern from "triqs/gf/imtime.hpp" namespace "triqs::gfs" :
array_view[double, THREE] data()
tail singularity()
cdef extern from "triqs/gf/imtime.hpp" :
cdef extern from "triqs/gfs/imtime.hpp" :
cdef void h5_write (h5_group, char *, gf_imtime &)
cdef extern from "triqs/utility/serialization.hpp" :
@ -43,7 +43,7 @@ cdef make_GfImTime (gf_imtime x, indices_pack=*, name=*)
############### Blocks of Im Time #########################
cdef extern from "triqs/gf/block.hpp" namespace "triqs::gfs" :
cdef extern from "triqs/gfs/block.hpp" namespace "triqs::gfs" :
cdef cppclass gf_block_imtime "triqs::python_tools::cython_proxy<triqs::gfs::gf_view<triqs::gfs::block_index,triqs::gfs::gf<triqs::gfs::imtime>>>" :
gf_block_imtime()

View File

@ -1,4 +1,4 @@
cdef extern from "triqs/gf/legendre.hpp" namespace "triqs::gfs" :
cdef extern from "triqs/gfs/legendre.hpp" namespace "triqs::gfs" :
cdef cppclass legendre_domain :
size_t Nmax
@ -25,7 +25,7 @@ cdef extern from "triqs/gf/legendre.hpp" namespace "triqs::gfs" :
mesh_legendre mesh()
array_view[double, THREE] data()
cdef extern from "triqs/gf/legendre.hpp" :
cdef extern from "triqs/gfs/legendre.hpp" :
cdef void h5_write (h5_group, char *, gf_legendre &)
cdef extern from "triqs/utility/serialization.hpp" :
@ -40,7 +40,7 @@ cdef make_GfLegendre(gf_legendre x, indices_pack=*, name=*)
############### Blocks of Im Time #########################
cdef extern from "triqs/gf/block.hpp" namespace "triqs::gfs" :
cdef extern from "triqs/gfs/block.hpp" namespace "triqs::gfs" :
cdef cppclass gf_block_legendre "triqs::python_tools::cython_proxy<triqs::gfs::gf_view<triqs::gfs::block_index,triqs::gfs::gf<triqs::gfs::legendre>>>" :
gf_block_legendre()

View File

@ -1,4 +1,4 @@
cdef extern from "triqs/gf/refreq.hpp" namespace "triqs::gfs" :
cdef extern from "triqs/gfs/refreq.hpp" namespace "triqs::gfs" :
cdef cppclass refreq_domain :
refreq_domain()
@ -27,7 +27,7 @@ cdef extern from "triqs/gf/refreq.hpp" namespace "triqs::gfs" :
array_view[dcomplex, THREE] data()
tail singularity()
cdef extern from "triqs/gf/refreq.hpp" :
cdef extern from "triqs/gfs/refreq.hpp" :
cdef void h5_write (h5_group, char *, gf_refreq &)
cdef extern from "triqs/utility/serialization.hpp" :
@ -42,7 +42,7 @@ cdef make_GfReFreq (gf_refreq x, indices_pack=*, name=*)
############### Blocks of Im Time #########################
cdef extern from "triqs/gf/block.hpp" namespace "triqs::gfs" :
cdef extern from "triqs/gfs/block.hpp" namespace "triqs::gfs" :
cdef cppclass gf_block_refreq "triqs::python_tools::cython_proxy<triqs::gfs::gf_view<triqs::gfs::block_index,triqs::gfs::gf<triqs::gfs::refreq>>>" :
gf_block_refreq()

View File

@ -1,4 +1,4 @@
cdef extern from "triqs/gf/retime.hpp" namespace "triqs::gfs" :
cdef extern from "triqs/gfs/retime.hpp" namespace "triqs::gfs" :
cdef cppclass retime_domain :
retime_domain()
@ -27,7 +27,7 @@ cdef extern from "triqs/gf/retime.hpp" namespace "triqs::gfs" :
array_view[dcomplex, THREE] data()
tail singularity()
cdef extern from "triqs/gf/retime.hpp" :
cdef extern from "triqs/gfs/retime.hpp" :
cdef void h5_write (h5_group, char *, gf_retime &)
cdef extern from "triqs/utility/serialization.hpp" :
@ -42,7 +42,7 @@ cdef make_GfReTime (gf_retime x, indices_pack=*, name=*)
############### Blocks of Im Time #########################
cdef extern from "triqs/gf/block.hpp" namespace "triqs::gfs" :
cdef extern from "triqs/gfs/block.hpp" namespace "triqs::gfs" :
cdef cppclass gf_block_retime "triqs::python_tools::cython_proxy<triqs::gfs::gf_view<triqs::gfs::block_index,triqs::gfs::gf<triqs::gfs::retime>>>" :
gf_block_retime()

View File

@ -1,6 +1,6 @@
from dcomplex cimport *
from arrays cimport *
cdef extern from "triqs/gf/local/tail.hpp" :
cdef extern from "triqs/gfs/local/tail.hpp" :
cdef cppclass tail "triqs::python_tools::cython_proxy<triqs::gfs::local::tail_view>" :
tail()
tail(array_view[dcomplex,THREE], int, array_view[long,TWO]) except +

View File

@ -1,4 +1,4 @@
cdef extern from "triqs/gf/two_real_times.hpp" namespace "triqs::gfs" :
cdef extern from "triqs/gfs/two_real_times.hpp" namespace "triqs::gfs" :
cdef cppclass two_real_times_domain :
two_real_times_domain()
@ -30,7 +30,7 @@ cdef extern from "triqs/gf/two_real_times.hpp" namespace "triqs::gfs" :
cdef gf_retime slice1d "triqs::gfs::slice" (gf_two_real_times &, double t) except +
cdef extern from "triqs/gf/two_real_times.hpp" :
cdef extern from "triqs/gfs/two_real_times.hpp" :
cdef void h5_write (h5_group, char *, gf_two_real_times &)
cdef extern from "triqs/utility/serialization.hpp" :
@ -45,7 +45,7 @@ cdef make_GfTwoRealTime (gf_two_real_times x, indices_pack=*, name=*)
############### Blocks of Im Time #########################
cdef extern from "triqs/gf/block.hpp" namespace "triqs::gfs" :
cdef extern from "triqs/gfs/block.hpp" namespace "triqs::gfs" :
cdef cppclass gf_block_two_real_times "triqs::python_tools::cython_proxy<triqs::gfs::gf_view<triqs::gfs::block_index,triqs::gfs::gf<triqs::gfs::two_real_times>>>" :
gf_block_two_real_times()

View File

@ -1,8 +1,8 @@
//#define TRIQS_ARRAYS_ENFORCE_BOUNDCHECK
#include <triqs/gf/imfreq.hpp>
#include <triqs/gf/imtime.hpp>
#include <triqs/gf/local/functions.hpp>
#include <triqs/gfs/imfreq.hpp>
#include <triqs/gfs/imtime.hpp>
#include <triqs/gfs/local/functions.hpp>
namespace tql= triqs::clef;
namespace tqa= triqs::arrays;

View File

@ -1,8 +1,8 @@
//#define TRIQS_ARRAYS_ENFORCE_BOUNDCHECK
#include <triqs/gf/imfreq.hpp>
#include <triqs/gf/imtime.hpp>
#include <triqs/gf/block.hpp>
#include <triqs/gfs/imfreq.hpp>
#include <triqs/gfs/imtime.hpp>
#include <triqs/gfs/block.hpp>
namespace tql= triqs::clef;
namespace tqa= triqs::arrays;

View File

@ -1,8 +1,8 @@
//#define TRIQS_ARRAYS_ENFORCE_BOUNDCHECK
#include <triqs/gf/imfreq.hpp>
#include <triqs/gf/imtime.hpp>
#include <triqs/gf/local/fourier_matsubara.hpp>
#include <triqs/gfs/imfreq.hpp>
#include <triqs/gfs/imtime.hpp>
#include <triqs/gfs/local/fourier_matsubara.hpp>
namespace tql= triqs::clef;
namespace tqa= triqs::arrays;

View File

@ -1,6 +1,6 @@
//#define TRIQS_ARRAYS_ENFORCE_BOUNDCHECK
#include <triqs/gf/two_real_times.hpp>
#include <triqs/gfs/two_real_times.hpp>
//using namespace triqs::gfss::local;
using namespace triqs::gfs;

View File

@ -6,8 +6,8 @@
#include <stdio.h>
#include <string.h>
#include <fstream>
#include <triqs/gf/gf.hpp>
#include <triqs/gf/two_real_times.hpp>
#include <triqs/gfs/gf.hpp>
#include <triqs/gfs/two_real_times.hpp>
#include <complex>
using namespace triqs::gfs;
using namespace std;

View File

@ -1,10 +1,10 @@
#define TRIQS_ARRAYS_ENFORCE_BOUNDCHECK
#include <triqs/gf/re_im_freq.hpp>
#include <triqs/gf/re_im_time.hpp>
#include <triqs/gf/refreq_imtime.hpp>
#include <triqs/gfs/re_im_freq.hpp>
#include <triqs/gfs/re_im_time.hpp>
#include <triqs/gfs/refreq_imtime.hpp>
#include <triqs/gf/local/fourier_real.hpp>
#include <triqs/gfs/local/fourier_real.hpp>
#include <triqs/arrays.hpp>
namespace tql= triqs::clef;

View File

@ -1,7 +1,7 @@
//#define TRIQS_ARRAYS_ENFORCE_BOUNDCHECK
#include <triqs/gf/refreq.hpp>
#include <triqs/gf/retime.hpp>
#include <triqs/gfs/refreq.hpp>
#include <triqs/gfs/retime.hpp>
namespace tql= triqs::clef;
namespace tqa= triqs::arrays;

View File

@ -1,8 +1,8 @@
//#define TRIQS_ARRAYS_ENFORCE_BOUNDCHECK
#include <triqs/gf/imfreq.hpp>
#include <triqs/gf/imtime.hpp>
#include <triqs/gf/local/functions.hpp>
#include <triqs/gfs/imfreq.hpp>
#include <triqs/gfs/imtime.hpp>
#include <triqs/gfs/local/functions.hpp>
namespace tql= triqs::clef;
namespace tqa= triqs::arrays;

View File

@ -1,10 +1,10 @@
//#define TRIQS_ARRAYS_ENFORCE_BOUNDCHECK
#include <triqs/gf/imfreq.hpp>
#include <triqs/gf/imtime.hpp>
#include <triqs/gf/block.hpp>
#include <triqs/gfs/imfreq.hpp>
#include <triqs/gfs/imtime.hpp>
#include <triqs/gfs/block.hpp>
#include <triqs/gf/local/functions.hpp>
#include <triqs/gfs/local/functions.hpp>
#include <boost/mpi.hpp>
namespace tql= triqs::clef;

View File

@ -6,8 +6,8 @@
#include <stdio.h>
#include <string.h>
#include <fstream>
#include <triqs/gf/gf.hpp>
#include <triqs/gf/two_real_times.hpp>
#include <triqs/gfs/gf.hpp>
#include <triqs/gfs/two_real_times.hpp>
#include <complex>
using namespace triqs::gfs;
using namespace std;

View File

@ -1,8 +1,8 @@
//#define TRIQS_ARRAYS_ENFORCE_BOUNDCHECK
#include <triqs/utility/serialization.hpp>
#include <triqs/gf/imfreq.hpp>
#include <triqs/gf/imtime.hpp>
#include <triqs/gfs/imfreq.hpp>
#include <triqs/gfs/imtime.hpp>
namespace tql= triqs::clef;
namespace tqa= triqs::arrays;

View File

@ -1,8 +1,8 @@
//#define TRIQS_ARRAYS_ENFORCE_BOUNDCHECK
#include <triqs/gf/imfreq.hpp>
#include <triqs/gf/imtime.hpp>
#include <triqs/gf/local/fourier_matsubara.hpp>
#include <triqs/gfs/imfreq.hpp>
#include <triqs/gfs/imtime.hpp>
#include <triqs/gfs/local/fourier_matsubara.hpp>
namespace tql= triqs::clef;
// namespace tqa= triqs::arrays;

View File

@ -1,8 +1,8 @@
#define TRIQS_ARRAYS_ENFORCE_BOUNDCHECK
#include <triqs/gf/refreq.hpp>
#include <triqs/gf/retime.hpp>
#include <triqs/gf/local/fourier_real.hpp>
#include <triqs/gfs/refreq.hpp>
#include <triqs/gfs/retime.hpp>
#include <triqs/gfs/local/fourier_real.hpp>
#include <triqs/arrays.hpp>
using triqs::arrays::make_shape;

View File

@ -1,8 +1,8 @@
//#define TRIQS_ARRAYS_ENFORCE_BOUNDCHECK
#include <triqs/gf/imfreq.hpp>
#include <triqs/gf/imtime.hpp>
#include <triqs/gf/local/fourier_matsubara.hpp>
#include <triqs/gfs/imfreq.hpp>
#include <triqs/gfs/imtime.hpp>
#include <triqs/gfs/local/fourier_matsubara.hpp>
#include<fstream>
namespace tql= triqs::clef;
namespace tqa= triqs::arrays;

View File

@ -22,13 +22,13 @@
#define TRIQS_GFS_ALL_H
// The basic classes
#include <triqs/gf/block.hpp>
#include <triqs/gf/imtime.hpp>
#include <triqs/gf/imfreq.hpp>
#include <triqs/gf/retime.hpp>
#include <triqs/gf/refreq.hpp>
#include <triqs/gf/legendre.hpp>
//#include <triqs/gf/product.hpp>
#include <triqs/gfs/block.hpp>
#include <triqs/gfs/imtime.hpp>
#include <triqs/gfs/imfreq.hpp>
#include <triqs/gfs/retime.hpp>
#include <triqs/gfs/refreq.hpp>
#include <triqs/gfs/legendre.hpp>
//#include <triqs/gfs/product.hpp>
#endif

View File

@ -22,8 +22,8 @@
#define TRIQS_GF_LOCAL_FOURIER_MATSU_H
#include "fourier_base.hpp"
#include <triqs/gf/imfreq.hpp>
#include <triqs/gf/imtime.hpp>
#include <triqs/gfs/imfreq.hpp>
#include <triqs/gfs/imtime.hpp>
namespace triqs { namespace gfs {

View File

@ -22,8 +22,8 @@
#define TRIQS_GF_LOCAL_FOURIER_REAL_H
#include "fourier_base.hpp"
#include <triqs/gf/refreq.hpp>
#include <triqs/gf/retime.hpp>
#include <triqs/gfs/refreq.hpp>
#include <triqs/gfs/retime.hpp>
namespace triqs { namespace gfs {

View File

@ -22,9 +22,9 @@
#ifndef TRIQS_GF_LOCAL_LEGENDRE_MATSU_H
#define TRIQS_GF_LOCAL_LEGENDRE_MATSU_H
#include <triqs/gf/imfreq.hpp>
#include <triqs/gf/imtime.hpp>
#include <triqs/gf/legendre.hpp>
#include <triqs/gfs/imfreq.hpp>
#include <triqs/gfs/imtime.hpp>
#include <triqs/gfs/legendre.hpp>
namespace triqs { namespace gfs {

View File

@ -23,8 +23,8 @@
#ifndef TRIQS_GF_LOCAL_PADE_H
#define TRIQS_GF_LOCAL_PADE_H
#include <triqs/gf/imfreq.hpp>
#include <triqs/gf/refreq.hpp>
#include <triqs/gfs/imfreq.hpp>
#include <triqs/gfs/refreq.hpp>
namespace triqs { namespace gfs {

View File

@ -22,7 +22,7 @@
#define TRIQS_GF_LOCAL_TAIL_H
#include <triqs/arrays.hpp>
#include <triqs/arrays/algorithms.hpp>
#include <triqs/gf/tools.hpp>
#include <triqs/gfs/tools.hpp>
#include <triqs/python_tools/cython_proxy.hpp>
namespace triqs { namespace gfs { namespace local {