TRIQS/triqs_ctint 4.0.0
A TRIQS application
Loading...
Searching...
No Matches
vertex_factories.hpp
1// Copyright (c) 2017--present, The Simons Foundation
2// This file is part of TRIQS/ctint and is licensed under the terms of GPLv3 or later.
3// SPDX-License-Identifier: GPL-3.0-or-later
4// See LICENSE in the root of this distribution for details.
5
6#pragma once
7#include <triqs/mc_tools.hpp>
8#include <triqs/gfs.hpp>
9#include <triqs/mesh.hpp>
10#include <vector>
11#include "./vertex.hpp"
12#include "./params.hpp"
13#include "./solver_core.hpp"
14
15namespace triqs_ctint {
16
18 using vertex_factory_t = std::function<vertex_t()>;
19
21 std::vector<vertex_factory_t> make_vertex_factories(params_t const &params, triqs::mc_tools::random_generator &rng,
22 std::optional<block2_gf_const_view<mesh::dlr_imfreq, matrix_valued>> D0_iw,
23 std::optional<gf_const_view<mesh::dlr_imfreq, matrix_valued>> Jperp_iw);
24
25} // namespace triqs_ctint
A struct combining both constr_params_t and solve_params_t.
Definition params.hpp:210