GQCP
Loading...
Searching...
No Matches
BaseReferenceDependentOperator.hpp
Go to the documentation of this file.
1// This file is part of GQCG-GQCP.
2//
3// Copyright (C) 2017-2020 the GQCG developers
4//
5// GQCG-GQCP is free software: you can redistribute it and/or modify
6// it under the terms of the GNU Lesser General Public License as published by
7// the Free Software Foundation, either version 3 of the License, or
8// (at your option) any later version.
9//
10// GQCG-GQCP is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU Lesser General Public License for more details.
14//
15// You should have received a copy of the GNU Lesser General Public License
16// along with GQCG-GQCP. If not, see <http://www.gnu.org/licenses/>.
17
18#pragma once
19
20
22
23
24namespace GQCP {
25
26
33private:
34 // The point that is used as a reference to define the operator.
35 Vector<double, 3> m_reference;
36
37
38public:
39 /*
40 * MARK: Constructors
41 */
42
49
50
51 /*
52 * MARK: Destructor
53 */
54
55 // Make the destructor pure virtual in order to make this class abstract.
57
58
59 /*
60 * MARK: Reference
61 */
62
66 const Vector<double, 3>& reference() const { return this->m_reference; }
67};
68
69
70} // namespace GQCP
Definition: BaseReferenceDependentOperator.hpp:32
virtual ~BaseReferenceDependentOperator()=0
Definition: BaseReferenceDependentOperator.cpp:42
const Vector< double, 3 > & reference() const
Definition: BaseReferenceDependentOperator.hpp:66
Definition: Matrix.hpp:47
Definition: BaseOneElectronIntegralBuffer.hpp:25