HubbardGPU
Hubbard diagonalisation on the GPU (and CPU)
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Friends
Macros
ham2D.h
Go to the documentation of this file.
1
/* Copyright (C) 2012 Ward Poelmans
2
3
This file is part of Hubbard-GPU.
4
5
Hubbard-GPU is free software: you can redistribute it and/or modify
6
it under the terms of the GNU 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
Hubbard-GPU 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 General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with Hubbard-GPU. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#ifndef HAM2D_H
20
#define HAM2D_H
21
22
#include "
ham.h
"
23
34
class
HubHam2D
:
public
Hamiltonian
35
{
36
public
:
37
HubHam2D
(
int
L
,
int
D
,
int
Nu
,
int
Nd
,
double
J
,
double
U
);
38
virtual
~HubHam2D
();
39
40
void
BuildFullHam
();
41
42
protected
:
43
int
hopping
(
myint
a,
myint
b,
int
jump=0)
const
;
44
46
int
L
;
48
int
D
;
49
};
50
51
#endif
/* HAM2D_H */
52
53
/* vim: set ts=8 sw=4 tw=0 expandtab :*/
ham2D.h
Generated on Fri Mar 7 2014 14:52:13 for HubbardGPU by
1.8.3.1