votca 2026-dev
Loading...
Searching...
No Matches
sigma_ppm_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_PPM_UKS_H
22#define VOTCA_XTP_SIGMA_PPM_UKS_H
23
24#include "votca/xtp/ppm.h"
26
27namespace votca {
28namespace xtp {
29
31 public:
35
36 void SetSharedPPM(const PPM& ppm) { ppm_ = &ppm; }
37
38 void PrepareScreening() final;
39
40 double CalcCorrelationDiagElement(Index gw_level,
41 double frequency) const final;
42
44 double frequency) const final;
45
46 double CalcCorrelationOffDiagElement(Index gw_level1, Index gw_level2,
47 double frequency1,
48 double frequency2) const final;
49
50 private:
51 const PPM* ppm_ = nullptr;
52};
53
54} // namespace xtp
55} // namespace votca
56
57#endif
Unrestricted RPA helper for spin-resolved GW screening.
Definition rpa_uks.h:68
void SetSharedPPM(const PPM &ppm)
double CalcCorrelationDiagElementDerivative(Index gw_level, double frequency) const final
double CalcCorrelationOffDiagElement(Index gw_level1, Index gw_level2, double frequency1, double frequency2) const final
double CalcCorrelationDiagElement(Index gw_level, double frequency) const final
Sigma_PPM_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)
Provides a means for comparing floating point numbers.
Definition basebead.h:33
Eigen::Index Index
Definition types.h:26