moved checkInteractions from InteractionsParser to Lattice
[cluster_expansion.git] / Interactions.h
blob49d8a8eb15ff7f46d0f970abe51e9ce1cbd1ecac
1 #ifndef _INTERACTIONS_H
2 #define _INTERACTIONS_H
4 #include <string>
5 #include <vector>
7 using namespace std;
9 struct Direction {
10 double x;
11 double y;
12 Direction(double x, double y) : x(x), y(y) {};
15 typedef vector<Direction> Directions;
17 struct Interaction {
18 string name;
19 Directions directions;
20 int multiplicity;
21 double energy;
24 class Interactions : public vector<Interaction> {
27 #endif