moved checkInteractions from InteractionsParser to Lattice
[cluster_expansion.git] / Lattice.h
blob40f6e16c5240c3bb11b320fc7da8dd5eb9231823
1 #ifndef _LATTICE_H
2 #define _LATTICE_H
4 #include <blitz/array.h>
5 using namespace blitz;
7 enum Occupation {
8 empty = 0,
9 CO,
13 typedef Array<Occupation, 2> LatticeType;
15 class Lattice {
16 public:
17 Lattice();
18 Lattice(int, int, int, int);
20 LatticeType adsorbates;
21 LatticeType surface;
22 int Latitude, Longitude;
23 int UnitCellSizeX, UnitCellSizeY;
25 void extendUnitCell(void);
27 private:
28 void extendUnitCell(LatticeType, int, int);
32 #endif