removed getEnergy() function... it's a feature of structure class
[cluster_expansion.git] / Symmetry.h
blob84e3dd95eee6eee11552fb9216ffa4540fc0fd8e
1 #ifndef _SYMMETRY_H
2 #define _SYMMETRY_H
4 #include <string>
5 #include <vector>
7 #include <string>
8 #include <vector>
10 using namespace std;
12 struct Direction {
13 double x;
14 double y;
15 Direction(double x, double y) : x(x), y(y) {};
17 typedef vector<Direction> Directions;
20 struct Symmetry {
21 string name;
22 Directions directions;
23 Symmetry(const string name = "") :
24 name(name) {};
27 class SymmetryOperations : public vector<Symmetry> {
30 #endif