Fixed interim version of checkInteractions, further renamed it to assessInteractions
[cluster_expansion.git] / Lattice.h
blobc60f896695aab581ab50e552d5bc0a5020af6ed6
1 #ifndef _LATTICE_H
2 #define _LATTICE_H
4 #include <blitz/array.h>
5 using namespace blitz;
7 #include "Interactions.h"
9 enum Occupation {
10 empty = 0,
11 CO,
15 typedef Array<Occupation, 2> LatticeType;
17 class Lattice {
18 public:
19 Lattice();
20 Lattice(int, int, int, int);
22 LatticeType adsorbates;
23 LatticeType surface;
24 int Latitude, Longitude;
25 int UnitCellSizeX, UnitCellSizeY;
27 void extendUnitCell(void);
28 void assessInteractions(Interactions);
29 double getEnergy(void);
31 private:
32 void extendUnitCell(LatticeType, int, int);
36 #endif