4using namespace triqs::gfs;
5using nda::clef::placeholder;
15 auto g =
gf{iw_mesh, {1, 1}};
17 g[iw_] << 1 / (iw_ - 3);
18 std::cout << g(0) << std::endl;
22 for (
auto w : g.mesh()) g[
w] = 1 / (
w - 3);
23 std::cout << g(0) << std::endl;
The owning Green's function container.
Imaginary frequency mesh type.
Umbrella header for the Green's function library.
Umbrella header for the TRIQS mesh types.
constexpr nda::clef::placeholder< 3 > w
Placeholder for the frequency .