votca 2024.2-dev
Loading...
Searching...
No Matches
iexcitoncl.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_IEXCITONCL_H
22#define VOTCA_XTP_IEXCITONCL_H
23
24// Third party includes
25#include <sys/stat.h>
26
27// VOTCA includes
29
30// Local VOTCA includes
32#include "votca/xtp/qmstate.h"
33
34namespace votca {
35namespace xtp {
36
45class IEXCITON final : public ParallelXJobCalc<std::vector<Job> > {
46 public:
47 std::string Identify() const { return "iexcitoncl"; }
48
49 Job::JobResult EvalJob(const Topology &top, Job &job, QMThread &opThread);
50
51 void WriteJobFile(const Topology &top);
52 void ReadJobFile(Topology &top);
53
54 protected:
55 void ParseSpecificOptions(const tools::Property &user_options);
56
57 private:
58 QMState GetElementFromMap(const std::string &elementname) const;
59 std::map<std::string, QMState> FillParseMaps(const std::string &Mapstring);
60 double cutoff_;
61 std::map<std::string, QMState> statemap_;
62};
63
64} // namespace xtp
65} // namespace votca
66#endif // VOTCA_XTP_IEXCITONCL_H
class to manage program options with xml serialization functionality
Definition property.h:55
Evaluates Transition Charge distributions classically.
Definition iexcitoncl.h:45
std::map< std::string, QMState > FillParseMaps(const std::string &Mapstring)
Definition iexcitoncl.cc:52
void ReadJobFile(Topology &top)
void ParseSpecificOptions(const tools::Property &user_options)
Definition iexcitoncl.cc:44
std::map< std::string, QMState > statemap_
Definition iexcitoncl.h:61
QMState GetElementFromMap(const std::string &elementname) const
std::string Identify() const
Calculator name.
Definition iexcitoncl.h:47
Job::JobResult EvalJob(const Topology &top, Job &job, QMThread &opThread)
Definition iexcitoncl.cc:73
void WriteJobFile(const Topology &top)
Identifier for QMstates. Strings like S1 are converted into enum +zero indexed int.
Definition qmstate.h:132
Container for segments and box and atoms.
Definition topology.h:41
base class for all analysis tools
Definition basebead.h:33