TRIQS/triqs_ctseg 4.0.0
A TRIQS application
Loading...
Searching...
No Matches
G_F_tau.hpp
1// Copyright (c) 2022--present, The Simons Foundation
2// Copyright (c) 2022--present, Max Planck Institute for Polymer Research, Mainz, Germany
3// This file is part of TRIQS/ctseg and is licensed under the terms of GPLv3 or later.
4// SPDX-License-Identifier: GPL-3.0-or-later
5// See LICENSE in the root of this distribution for details.
6
7#pragma once
8#include "../configuration.hpp"
9#include "../work_data.hpp"
10#include "../results.hpp"
11
12namespace triqs_ctseg::measures {
13
14 struct G_F_tau {
15
16 work_data_t const &wdata;
17 configuration_t const &config;
18 results_t &results;
19 double beta;
20 bool measure_F_tau;
21 gf_struct_t gf_struct;
22
23 block_gf<imtime> G_tau;
24 block_gf<imtime> F_tau;
25
26 double Z;
27
28 G_F_tau(params_t const &params, work_data_t const &wdata, configuration_t const &config, results_t &results);
29
30 void accumulate(double s);
31 void collect_results(mpi::communicator const &c);
32 double fprefactor(long const &block, std::pair<tau_t, long> const &y);
33 };
34
35} // namespace triqs_ctseg::measures