TRIQS/triqs_ctseg 4.0.0
A TRIQS application
Loading...
Searching...
No Matches
inputs.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
9#include "params.hpp"
10#include <triqs/gfs.hpp>
11
12namespace triqs_ctseg {
13
14 // Group the inputs of the solver.
15
16 struct inputs_t {
17
18 block_gf<imtime> Delta; // hybridization function
19 gf<imtime, matrix_valued> Jperpt; // perpendicular spin-spin interaction
20 block2_gf<imtime> D0t; // retarded density-density interaction
21 };
22
23 // h5_read/write
24 void h5_write(h5::group h5group, std::string subgroup_name, inputs_t const &s);
25 void h5_read(h5::group h5group, std::string subgroup_name, inputs_t &s);
26
27} // namespace triqs_ctseg