TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
legendre.hpp
Go to the documentation of this file.
1// Copyright (c) 2014-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA)
2// Copyright (c) 2014-2018 Centre national de la recherche scientifique (CNRS)
3// Copyright (c) 2018-2021 Simons Foundation
4//
5// This program is free software: you can redistribute it and/or modify
6// it under the terms of the GNU General Public License as published by
7// the Free Software Foundation, either version 3 of the License, or
8// (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You may obtain a copy of the License at
16// https://www.gnu.org/licenses/gpl-3.0.txt
17//
18// Authors: Michel Ferrero, Olivier Parcollet, Nils Wentzell
19
24
25#pragma once
26
27#include "../gf/defs.hpp"
29#include "../gf/gf_view.hpp"
31
32namespace triqs::gfs {
33
34 //-------------------------------------------------------
35 // For Legendre functions
36 // ------------------------------------------------------
37
48 array<dcomplex, 3> get_tail(gf_const_view<mesh::legendre> gl);
49
61 void enforce_discontinuity(gf_view<mesh::legendre> gl, nda::array_const_view<double, 2> disc);
62
63} // namespace triqs::gfs
A read-only, non-owning view of a Green's function.
A mutable, non-owning view of a Green's function.
Definition gf_view.hpp:48
Provides common type aliases, forward declarations and internal helpers for the Green's function cont...
Provides the triqs::gfs::gf_const_view container, a read-only non-owning view of a Green's function.
Provides a mutable non-owning view of a Green's function.
void enforce_discontinuity(gf_view< mesh::legendre > gl, nda::array_const_view< double, 2 > disc)
Enforce a prescribed jump at for a Legendre Green's function.
Definition legendre.cpp:57
Provides a mesh type for Legendre polynomials as basis functions.