QNANO
Neighbor.h
1 #ifndef QNANO_NEW_NEIGHBOR_DEFINED_H
2 #define QNANO_NEW_NEIGHBOR_DEFINED_H
3 
4 #include "tools/Vec3d.h"
5 
6 class Neighbor{
7 public:
8  int index;
9  Vec3d D;
10 
11  Neighbor(): index(-1), D() {}
12  Neighbor(int i, Vec3d D_) : index(i), D(D_) {}
13 };
14 
15 
16 #endif
Class to store positions and to handle operations on 3d vectors.
Definition: Vec3d.h:9
Definition: Neighbor.h:6