TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
triqs::gfs::ScalarGfInitFunc

#include <triqs/gfs/gf_sym_grp.hpp>

Detailed Description

Initializer-function concept for scalar-valued Green's functions.

A ScalarGfInitFunc accepts a mesh index and returns the (scalar) value type of the Green's function.

Template Parameters
FAnything callable with a mesh_index_t.
GAnything modeling the gf concept (with target_rank == 0).
mesh_index_tMesh index type for G.

Definition at line 92 of file gf_sym_grp.hpp.

Concept definition

template<typename F, typename G, typename mesh_index_t typename G::mesh_t::index_t>
requires(F f, mesh_index_t const &mesh_index) {
requires(G::target_rank == 0);
{ f(mesh_index) } -> std::same_as<typename G::scalar_t>;
}
Initializer-function concept for scalar-valued Green's functions.
constexpr bool is_gf_v
Trait to check whether a type models the Green's function concept.
Definition gf.hpp:101