TBTK
RealLattice.h
Go to the documentation of this file.
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 
23 #ifndef COM_DAFER45_TBTK_REAL_LATTICE
24 #define COM_DAFER45_TBTK_REAL_LATTICE
25 
26 #include "TBTK/Index.h"
27 #include "TBTK/UnitCell.h"
28 
29 #include <vector>
30 
31 namespace TBTK{
32 
34 public:
36  RealLattice(const UnitCell *unitCell);
37 
39  ~RealLattice();
40 
42  void addLatticePoint(const Index &latticePoint);
43 
46 private:
48  const UnitCell *unitCell;
49 
51  std::vector<Index> latticePoints;
52 };
53 
54 }; //End of namespace TBTK
55 
56 #endif
Unit cell that act as container of States.
Flexible physical index.
Definition: RealLattice.h:33
Definition: UnitCell.h:30
Flexible physical index.
Definition: Index.h:70
Definition: ModelFactory.h:35
RealLattice(const UnitCell *unitCell)
void addLatticePoint(const Index &latticePoint)
Definition: StateSet.h:30
StateSet * generateStateSet()