votca 2024.1-dev
Loading...
Searching...
No Matches
gwbse.h
Go to the documentation of this file.
1/*
2 * Copyright 2009-2022 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_GWBSE_H
22#define VOTCA_XTP_GWBSE_H
23
24// Standard includes
25#include <fstream>
26
27// VOTCA includes
29
30// Local VOTCA includes
31#include "bse.h"
32#include "eigen.h"
33#include "gw.h"
34#include "logger.h"
35#include "qmfragment.h"
36
37namespace votca {
38namespace xtp {
39class Orbitals;
40class AOBasis;
56class GWBSE {
57 public:
58 GWBSE(Orbitals& orbitals) : orbitals_(orbitals) {};
59 void Initialize(tools::Property& options);
60
61 std::string Identify() { return "gwbse"; }
62
63 void setLogger(Logger* pLog) { pLog_ = pLog; }
64
65 bool Evaluate();
66
67 void addoutput(tools::Property& summary);
68
69 private:
70 Eigen::MatrixXd CalculateVXC(const AOBasis& dftbasis);
74 // program tasks
75
76 bool do_gw_ = false;
77 bool do_bse_singlets_ = false;
78 bool do_bse_triplets_ = false;
80
81 // options for own Vxc calculation
82 std::string functional_;
83 std::string grid_;
84
87
88 std::string sigma_plot_states_;
92
93 // basis sets
94 std::string auxbasis_name_;
95 std::string dftbasis_name_;
96
97 std::vector<QMFragment<BSE_Population> > fragments_;
98};
99} // namespace xtp
100} // namespace votca
101
102#endif // VOTCA_XTP_GWBSE_H
class to manage program options with xml serialization functionality
Definition property.h:55
Container to hold Basisfunctions for all atoms.
Definition aobasis.h:42
Electronic excitations from GW-BSE.
Definition gwbse.h:56
bool Evaluate()
Definition gwbse.cc:544
std::vector< QMFragment< BSE_Population > > fragments_
Definition gwbse.h:97
std::string sigma_plot_states_
Definition gwbse.h:88
BSE::options bseopt_
Definition gwbse.h:86
void addoutput(tools::Property &summary)
Definition gwbse.cc:422
bool do_bse_triplets_
Definition gwbse.h:78
std::string Identify()
Definition gwbse.h:61
std::string grid_
Definition gwbse.h:83
std::string auxbasis_name_
Definition gwbse.h:94
bool do_bse_singlets_
Definition gwbse.h:77
GWBSE(Orbitals &orbitals)
Definition gwbse.h:58
Orbitals & orbitals_
Definition gwbse.h:73
Eigen::MatrixXd CalculateVXC(const AOBasis &dftbasis)
Definition gwbse.cc:504
Index sigma_plot_steps_
Definition gwbse.h:89
std::string functional_
Definition gwbse.h:82
std::string dftbasis_name_
Definition gwbse.h:95
void Initialize(tools::Property &options)
Definition gwbse.cc:60
Index CountCoreLevels()
Definition gwbse.cc:46
GW::options gwopt_
Definition gwbse.h:85
double sigma_plot_spacing_
Definition gwbse.h:90
void setLogger(Logger *pLog)
Definition gwbse.h:63
Logger * pLog_
Definition gwbse.h:72
std::string sigma_plot_filename_
Definition gwbse.h:91
bool do_dynamical_screening_bse_
Definition gwbse.h:79
Logger is used for thread-safe output of messages.
Definition logger.h:164
container for molecular orbitals
Definition orbitals.h:46
base class for all analysis tools
Definition basebead.h:33
Eigen::Index Index
Definition types.h:26