TRIQS/triqs_ctseg 4.0.0
A TRIQS application
Loading...
Searching...
No Matches
nn_nu_dlr.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 nn_nu_dlr {
15
16 work_data_t const &wdata;
17 configuration_t const &config;
18 results_t &results;
19 double beta;
20 double dtau;
21 int ntau;
22 std::vector<long> block_number, index_in_block;
23
24 gf<dlr_imfreq> q_nu;
25 block2_gf<dlr_imfreq> q_nu_block;
26
27 double Z = 0;
28 int n_color;
29
30 nn_nu_dlr(params_t const &params, work_data_t const &wdata, configuration_t const &config, results_t &results);
31
32 void accumulate(double s);
33 void collect_results(mpi::communicator const &c);
34 };
35
36} // namespace triqs_ctseg::measures