votca 2026-dev
Loading...
Searching...
No Matches
sigma_exact_uks.h
Go to the documentation of this file.
1/*
2 * Copyright 2009-2020 The VOTCA Development Team
3 * (http://www.votca.org)
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License")
6 *
7 * You may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 *
18 */
19
20#pragma once
21#ifndef VOTCA_XTP_SIGMA_EXACT_UKS_H
22#define VOTCA_XTP_SIGMA_EXACT_UKS_H
23
24#include "votca/xtp/rpa_uks.h"
26
27namespace votca {
28namespace xtp {
29
31 public:
35
36 void PrepareScreening() final;
37
38 double CalcCorrelationDiagElement(Index gw_level,
39 double frequency) const final;
40
42 double frequency) const final;
43
44 double CalcCorrelationOffDiagElement(Index gw_level1, Index gw_level2,
45 double frequency1,
46 double frequency2) const final;
47
48 private:
49 // void BuildScreeningModes(const Eigen::MatrixXd& XpY,
50 // const Eigen::VectorXd& omegas);
51
52 Eigen::VectorXd rpa_omegas_;
53 std::vector<Eigen::VectorXd> screening_modes_;
54 std::vector<Eigen::MatrixXd> residues_;
55};
56
57} // namespace xtp
58} // namespace votca
59
60#endif
Unrestricted RPA helper for spin-resolved GW screening.
Definition rpa_uks.h:68
std::vector< Eigen::MatrixXd > residues_
double CalcCorrelationDiagElement(Index gw_level, double frequency) const final
double CalcCorrelationOffDiagElement(Index gw_level1, Index gw_level2, double frequency1, double frequency2) const final
std::vector< Eigen::VectorXd > screening_modes_
double CalcCorrelationDiagElementDerivative(Index gw_level, double frequency) const final
Sigma_Exact_UKS(TCMatrix_gwbse_spin &Mmn, RPA_UKS &rpa, TCMatrix::SpinChannel spin)
Sigma_base_UKS(TCMatrix_gwbse_spin &Mmn, const RPA_UKS &rpa, TCMatrix::SpinChannel spin)
STL namespace.
Provides a means for comparing floating point numbers.
Definition basebead.h:33
Eigen::Index Index
Definition types.h:26