votca 2024.1-dev
Loading...
Searching...
No Matches
couplingbase.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_COUPLINGBASE_H
22#define VOTCA_XTP_COUPLINGBASE_H
23
24// Third party includes
25#include <boost/format.hpp>
26
27// Local VOTCA includes
28#include "logger.h"
29#include "orbitals.h"
30
31namespace votca {
32namespace xtp {
33
40 public:
41 virtual void CalculateCouplings(const Orbitals& orbitalsA,
42 const Orbitals& orbitalsB,
43 const Orbitals& orbitalsAB) = 0;
44
45 virtual void Initialize(tools::Property&) = 0;
46
47 virtual void Addoutput(tools::Property& type_summary,
48 const Orbitals& orbitalsA,
49 const Orbitals& orbitalsB) const = 0;
50
51 void setLogger(Logger* pLog) { pLog_ = pLog; }
52
53 protected:
55 void CheckAtomCoordinates(const Orbitals& orbitalsA,
56 const Orbitals& orbitalsB,
57 const Orbitals& orbitalsAB) const;
58
59 Eigen::MatrixXd CalculateOverlapMatrix(const Orbitals& orbitalsAB) const;
60};
61
62} // namespace xtp
63} // namespace votca
64
65#endif // VOTCA_XTP_COUPLINGBASE_H
class to manage program options with xml serialization functionality
Definition property.h:55
Base Class to derive DFT and BSE coupling from.
Eigen::MatrixXd CalculateOverlapMatrix(const Orbitals &orbitalsAB) const
virtual void Initialize(tools::Property &)=0
void CheckAtomCoordinates(const Orbitals &orbitalsA, const Orbitals &orbitalsB, const Orbitals &orbitalsAB) const
virtual void Addoutput(tools::Property &type_summary, const Orbitals &orbitalsA, const Orbitals &orbitalsB) const =0
virtual void CalculateCouplings(const Orbitals &orbitalsA, const Orbitals &orbitalsB, const Orbitals &orbitalsAB)=0
void setLogger(Logger *pLog)
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