votca 2024.1-dev
Loading...
Searching...
No Matches
diabatization.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_DIABATIZATION_H
22#define VOTCA_XTP_DIABATIZATION_H
23
24// Standard includes
25#include <cstdio>
26
27// Local VOTCA includes
28#include "votca/xtp/logger.h"
29#include "votca/xtp/orbitals.h"
31#include "votca/xtp/qmtool.h"
32#include <votca/tools/types.h>
36
37namespace votca {
38namespace xtp {
39
40class Diabatization final : public QMTool {
41 public:
42 Diabatization() = default;
43
44 ~Diabatization() = default;
45
46 std::string Identify() const { return "diabatization"; }
47
48 protected:
49 void ParseOptions(const tools::Property& user_options) final;
50 bool Run() final;
51
52 private:
53 std::string orbfile1_;
54 std::string orbfile2_;
56 std::string method_;
57 std::string qmtype_;
58
61
62 bool isQMMM_;
63
64 double E1_;
65 double E2_;
66
67 // for use in ER
68 bool useRI_;
69 // for use in FCD
71};
72
73} // namespace xtp
74} // namespace votca
75
76#endif // VOTCA_XTP_DIABATIZATION_H
class to manage program options with xml serialization functionality
Definition property.h:55
void ParseOptions(const tools::Property &user_options) final
std::string Identify() const
Calculator name.
std::vector< QMFragment< BSE_Population > > fragments_
Logger is used for thread-safe output of messages.
Definition logger.h:164
STL namespace.
base class for all analysis tools
Definition basebead.h:33
Eigen::Index Index
Definition types.h:26