GQCP
Loading...
Searching...
No Matches
gqcp
include
Operator
FirstQuantized
SpinZeemanOperator.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
21
#include "
Operator/FirstQuantized/BaseFQOperator.hpp
"
22
#include "
Physical/HomogeneousMagneticField.hpp
"
23
#include "
Utilities/complex.hpp
"
24
25
26
namespace
GQCP
{
27
28
29
class
SpinZeemanOperator
:
30
public
BaseScalarFQOneElectronOperator
<complex> {
31
private
:
32
// The external, homogeneous magnetic field.
33
HomogeneousMagneticField
B;
34
35
36
public
:
37
/*
38
* MARK: Constructors
39
*/
40
46
SpinZeemanOperator
(
const
HomogeneousMagneticField
& B);
47
48
49
/*
50
* MARK: Access
51
*/
52
56
const
HomogeneousMagneticField
&
magneticField
()
const
{
return
this->B; }
57
};
58
59
60
}
// namespace GQCP
BaseFQOperator.hpp
HomogeneousMagneticField.hpp
GQCP::BaseScalarFQOperator
Definition:
BaseFQOperator.hpp:72
GQCP::HomogeneousMagneticField
Definition:
HomogeneousMagneticField.hpp:30
GQCP::SpinZeemanOperator
Definition:
SpinZeemanOperator.hpp:30
GQCP::SpinZeemanOperator::magneticField
const HomogeneousMagneticField & magneticField() const
Definition:
SpinZeemanOperator.hpp:56
complex.hpp
GQCP
Definition:
BaseOneElectronIntegralBuffer.hpp:25
Generated by
1.9.6