TBTK
Need a break? Support the development by playing Polarity Puzzles
RealLattice.h
1 /* Copyright 2016 Kristofer Björnson
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
17 
24 #ifndef COM_DAFER45_TBTK_REAL_LATTICE
25 #define COM_DAFER45_TBTK_REAL_LATTICE
26 
27 #include "TBTK/Index.h"
28 #include "TBTK/UnitCell.h"
29 
30 #include <vector>
31 
32 namespace TBTK{
33 
34 class RealLattice{
35 public:
37  RealLattice(const UnitCell *unitCell);
38 
40  ~RealLattice();
41 
43  void addLatticePoint(const Index &latticePoint);
44 
46  StateSet* generateStateSet();
47 private:
49  const UnitCell *unitCell;
50 
52  std::vector<Index> latticePoints;
53 };
54 
55 }; //End of namespace TBTK
56 
57 #endif
58 
Physical index.
Definition: Boolean.h:32