TBTK
Lattice.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_LATTICE
24 #define COM_DAFER45_TBTK_LATTICE
25 
26 #include "UnitCell.h"
27 #include "Index.h"
28 
29 #include <vector>
30 
31 namespace TBTK{
32 
33 class Lattice{
34 public:
36  Lattice(UnitCell *unitCell);
37 
39  ~Lattice();
40 
42  void addLatticePoint(const Index &latticePoint);
43 
46 private:
48  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.
Data structure for flexible physical indices.
void addLatticePoint(const Index &latticePoint)
Definition: Lattice.cpp:35
StateSet * generateStateSet()
Definition: Lattice.cpp:46
Definition: UnitCell.h:30
Definition: Index.h:44
Definition: Lattice.h:33
~Lattice()
Definition: Lattice.cpp:32
Definition: AbstractOperator.h:26
Lattice(UnitCell *unitCell)
Definition: Lattice.cpp:28
Definition: StateSet.h:30