votca 2024.1-dev
Loading...
Searching...
No Matches
sigma_ppm.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_H
22#define VOTCA_XTP_SIGMA_PPM_H
23
24// Local VOTCA includes
25#include "votca/xtp/ppm.h"
27
28namespace votca {
29namespace xtp {
30
31class TCMatrix_gwbse;
32class RPA;
33
34class Sigma_PPM : public Sigma_base {
35 public:
36 Sigma_PPM(TCMatrix_gwbse& Mmn, RPA& rpa) : Sigma_base(Mmn, rpa) {};
37
38 // Sets up the screening parametrisation
39 void PrepareScreening() final;
40 // Calculates Sigma_c diagonal elements
41 double CalcCorrelationDiagElement(Index gw_level,
42 double frequency) const final;
43
45 double frequency) const final;
46 // Calculates Sigma_c off-diagonal elements
47 double CalcCorrelationOffDiagElement(Index gw_level1, Index gw_level2,
48 double frequency1,
49 double frequency2) const final;
50
51 private:
53};
54} // namespace xtp
55} // namespace votca
56
57#endif // VOTCA_XTP_SIGMA_PPM_H
double CalcCorrelationOffDiagElement(Index gw_level1, Index gw_level2, double frequency1, double frequency2) const final
Definition sigma_ppm.cc:89
Sigma_PPM(TCMatrix_gwbse &Mmn, RPA &rpa)
Definition sigma_ppm.h:36
double CalcCorrelationDiagElement(Index gw_level, double frequency) const final
Definition sigma_ppm.cc:37
void PrepareScreening() final
Definition sigma_ppm.cc:32
double CalcCorrelationDiagElementDerivative(Index gw_level, double frequency) const final
Definition sigma_ppm.cc:63
base class for all analysis tools
Definition basebead.h:33
Eigen::Index Index
Definition types.h:26