TRIQS/triqs_tprf 4.0.0
A TRIQS application
Loading...
Searching...
No Matches
lattice_utility.hpp
1/*******************************************************************************
2 *
3 * TRIQS: a Toolbox for Research in Interacting Quantum Systems
4 *
5 * Copyright (C) 2019, The Simons Foundation and S. Käser
6 * Authors: S. Käser, H. U.R. Strand
7 *
8 * TRIQS is free software: you can redistribute it and/or modify it under the
9 * terms of the GNU General Public License as published by the Free Software
10 * Foundation, either version 3 of the License, or (at your option) any later
11 * version.
12 *
13 * TRIQS is distributed in the hope that it will be useful, but WITHOUT ANY
14 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
16 * details.
17 *
18 * You should have received a copy of the GNU General Public License along with
19 * TRIQS. If not, see <http://www.gnu.org/licenses/>.
20 *
21 ******************************************************************************/
22#pragma once
23
24#include "../types.hpp"
25
26namespace triqs_tprf {
27
28 g_w_t dlr_on_imfreq(g_Dc_cvt g_c, mesh::imfreq wmesh);
29 g_t_t dlr_on_imtime(g_Dc_cvt g_c, mesh::imtime tmesh);
30 chi_w_t dlr_on_imfreq(chi_Dc_cvt chi_c, mesh::imfreq wmesh);
31 chi_t_t dlr_on_imtime(chi_Dc_cvt chi_c, mesh::imtime tmesh);
32
48 std::tuple<chi_wk_t, chi_k_t> split_into_dynamic_wk_and_constant_k(chi_wk_cvt chi_wk);
49
56 g_fk_t add_dynamic_and_static(g_fk_t g_dyn_fk, e_k_t g_stat_k);
57 chi_fk_t add_dynamic_and_static(chi_fk_t chi_dyn_fk, chi_k_t chi_stat_k);
58
65 g_wk_t add_dynamic_and_static(g_wk_t g_dyn_wk, e_k_t g_stat_k);
66 chi_wk_t add_dynamic_and_static(chi_wk_t chi_dyn_wk, chi_k_t chi_stat_k);
67 g_Dwk_t add_dynamic_and_static(g_Dwk_t g_dyn_wk, e_k_t g_stat_k);
68 chi_Dwk_t add_dynamic_and_static(chi_Dwk_t chi_dyn_wk, chi_k_t chi_stat_k);
69
79 double fermi(double e);
80
90 double bose(double e);
91} // namespace triqs_tprf