votca 2024.2-dev
Loading...
Searching...
No Matches
xtp_bind_calculators.h
Go to the documentation of this file.
1/*
2 * Copyright 2009-2023 The VOTCA Development Team (http://www.votca.org)
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 *
15 */
16
17#ifndef XTP_BIND_CALCULATORS_H_
18#define XTP_BIND_CALCULATORS_H_
19
23#include <iostream>
24#include <map>
25#include <memory>
26
27using namespace votca;
28
29namespace pyxtp {
30
36void call_calculator(const std::string& calculatorName,
37 const std::map<std::string, std::string>& dict);
38
40 public:
41 void Initialize(const std::string& calculatorName, Index nThreads,
43 void Run(const std::string& statefile, Index nFrames, Index firstFrame,
44 bool save);
45
46 private:
47 std::unique_ptr<xtp::QMCalculator> calculator_;
48};
49
50} // namespace pyxtp
51
52#endif // XTP_BIND_CALCULATORS_H_
void Run(const std::string &statefile, Index nFrames, Index firstFrame, bool save)
void Initialize(const std::string &calculatorName, Index nThreads, votca::tools::Property prop)
std::unique_ptr< xtp::QMCalculator > calculator_
class to manage program options with xml serialization functionality
Definition property.h:55
void call_calculator(const std::string &calculatorName, const std::map< std::string, std::string > &dict)
Construct a new pybind11 module object to invoke a votca-xtp Calculator.
base class for all analysis tools
Definition basebead.h:33
Eigen::Index Index
Definition types.h:26