implementation of getEnergy()
[cluster_expansion.git] / Interactions.h
blob4fb1622736e9e46e5babeecd20d7073572d74845
1 #ifndef _INTERACTIONS_H
2 #define _INTERACTIONS_H
4 #include <string>
5 #include <vector>
7 using namespace std;
9 #include "Direction.h"
11 struct Interaction {
12 string name;
13 Directions directions;
14 int multiplicity;
15 double energy;
16 Interaction(const string name = "", int multiplicity = 0, double energy = 0.0) :
17 name(name), multiplicity(multiplicity), energy(energy) {};
20 class Interactions : public vector<Interaction> {
21 friend ostream& operator<<(ostream& output, const Interactions&);
25 #endif