votca 2024.2-dev
Loading...
Searching...
No Matches
interface.cc
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
18#include "xtp_bind_tools.h"
19#include <pybind11/complex.h>
20#include <pybind11/pybind11.h>
21#include <pybind11/stl.h>
22
23namespace py = pybind11;
24
25PYBIND11_MODULE(xtp_binds, module) {
26 module.doc() =
27 "VOTCA-XTP is a library which allows you to calculate the electronic "
28 "properties of organic materials,"
29 "https://votca.github.io";
30
31 module.def("call_calculator", &pyxtp::call_calculator,
32 R"pbdoc(
33 Invoke a Votca XTP calculator
34
35 Parameters
36 ----------
37 name
38 Calculator's name
39 threads
40 Number of threads to perform the computation
41 xml_file
42 Input file specification
43 )pbdoc");
44 module.def("call_tool", &pyxtp::call_tool,
45 R"pbdoc(
46 Invoke a Votca XTP Tool
47
48 Parameters
49 ----------
50 name
51 Calculator's name
52 threads
53 Number of threads to perform the computation
54 xml_file
55 Input file specification
56 )pbdoc");
57}
PYBIND11_MODULE(xtp_binds, module)
Definition interface.cc:25