votca 2026-dev
Loading...
Searching...
No Matches
aogaussiansites.h
Go to the documentation of this file.
1/*
2 * Copyright 2009-2026 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_AOGAUSSIANSITES_H
22#define VOTCA_XTP_AOGAUSSIANSITES_H
23
24// Standard includes
25#include <vector>
26
27// Local VOTCA includes
28#include "aobasis.h"
29#include "eigen.h"
30
31namespace votca {
32namespace xtp {
33
49 public:
50 struct Source {
51 Eigen::Vector3d pos;
52 double width;
53 double charge;
54 Eigen::Vector3d dipole;
55 };
56
60 static Eigen::MatrixXd Potential(const AOBasis& basis,
61 const std::vector<Source>& sources);
62
67 static Eigen::MatrixXd PotentialAndGradientAt(
68 const AOBasis& basis, const Eigen::MatrixXd& D,
69 const std::vector<Eigen::Vector3d>& points,
70 const std::vector<double>& widths);
71};
72
73} // namespace xtp
74} // namespace votca
75
76#endif // VOTCA_XTP_AOGAUSSIANSITES_H
Container to hold Basisfunctions for all atoms.
Definition aobasis.h:42
Coupling of the QM region with Gaussian charges and dipoles (the induced charges and dipoles of charg...
static Eigen::MatrixXd Potential(const AOBasis &basis, const std::vector< Source > &sources)
static Eigen::MatrixXd PotentialAndGradientAt(const AOBasis &basis, const Eigen::MatrixXd &D, const std::vector< Eigen::Vector3d > &points, const std::vector< double > &widths)
Provides a means for comparing floating point numbers.
Definition basebead.h:33