HubbardGPU
Hubbard diagonalisation on the GPU (and CPU)
 All Classes Files Functions Variables Typedefs Friends Macros
nonp-ham.h
Go to the documentation of this file.
1 /* Copyright (C) 2014 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 NONP_HAM_H
20 #define NONP_HAM_H
21 
22 #include "ham.h"
23 
29 {
30  public:
31  NonPeriodicHamiltonian(int L, int Nu, int Nd, double J, double U);
32  virtual ~NonPeriodicHamiltonian();
33 
34  protected:
35  int hopping(myint a, myint b, int jumpsign=0) const;
36 };
37 
38 #endif /* NONP_HAM_H */
39 
40 /* vim: set ts=8 sw=4 tw=0 expandtab :*/