GQCP
Loading...
Searching...
No Matches
HomogeneousMagneticField.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
31private:
32 // The field strength.
34
35 // The gauge origin.
37
38
39public:
40 /*
41 * MARK: Constructors
42 */
43
51
52
53 /*
54 * MARK: Physics
55 */
56
60 const Vector<double, 3>& strength() const { return this->B; }
61
65 const Vector<double, 3>& gaugeOrigin() const { return this->G; }
66
75};
76
77
78} // namespace GQCP
Definition: HomogeneousMagneticField.hpp:30
const Vector< double, 3 > & gaugeOrigin() const
Definition: HomogeneousMagneticField.hpp:65
Vector< double, 3 > vectorPotentialAt(const Vector< double, 3 > &r) const
Definition: HomogeneousMagneticField.cpp:49
const Vector< double, 3 > & strength() const
Definition: HomogeneousMagneticField.hpp:60
Definition: Matrix.hpp:47
Definition: BaseOneElectronIntegralBuffer.hpp:25