votca 2024.2-dev
Loading...
Searching...
No Matches
fcddiabatization.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_FCDDIABATIZATION_H
22#define VOTCA_XTP_FCDDIABATIZATION_H
23
24#include "logger.h"
25#include "votca/xtp/orbitals.h"
27#include "votca/xtp/qmtool.h"
28#include <cstdio>
30#include <votca/tools/types.h>
31#include <votca/xtp/aobasis.h>
32
33namespace votca {
34namespace xtp {
35
37 public:
39
40 FCDDiabatization(Orbitals& orbitals1, Orbitals& orbitals2, Logger* log,
41 Index state_idx_1, Index state_idx_2, std::string qmstate,
42 std::vector<QMFragment<BSE_Population> > fragments)
43 : orbitals1_(orbitals1),
44 orbitals2_(orbitals2),
45 pLog_(log),
46 state_idx_1_(state_idx_1),
47 state_idx_2_(state_idx_2),
48 qmstate_str_(qmstate),
49 fragments_(fragments) {};
50
51 void configure();
52
53 double calculate_coupling();
54 const std::pair<double, double> adiabatic_energies() {
55 return std::pair<double, double>(E1_, E2_);
56 };
57
58 private:
63
65
68 std::string qmstate_str_;
69
70 double E1_;
71 double E2_;
72
73 std::vector<QMFragment<BSE_Population> > fragments_;
74};
75} // namespace xtp
76} // namespace votca
77
78#endif // VOTCA_XTP_FCDDIABATIZATION_H
Container to hold Basisfunctions for all atoms.
Definition aobasis.h:42
const std::pair< double, double > adiabatic_energies()
FCDDiabatization(Orbitals &orbitals1, Orbitals &orbitals2, Logger *log, Index state_idx_1, Index state_idx_2, std::string qmstate, std::vector< QMFragment< BSE_Population > > fragments)
std::vector< QMFragment< BSE_Population > > fragments_
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