1 #ifndef _INTERACTIONS_H
2 #define _INTERACTIONS_H
12 Direction(double x
, double y
) : x(x
), y(y
) {};
15 typedef vector
<Direction
> Directions
;
19 Directions directions
;
22 Interaction(const string name
= "", int multiplicity
= 0, double energy
= 0.0) :
23 name(name
), multiplicity(multiplicity
), energy(energy
) {};
26 class Interactions
: public vector
<Interaction
> {
27 friend ostream
& operator<<(ostream
& output
, const Interactions
&);