1 #ifndef QNANO_NEW_NEIGHBORHOOD_CRITERION_VECTOR_DEFINED_H     2 #define QNANO_NEW_NEIGHBORHOOD_CRITERION_VECTOR_DEFINED_H     4 #include "structure/Neighborhood_Criterion.h"    13   void calculate_upper_bound(){  length=vec.norm();  }
    17     calculate_upper_bound();
    20   virtual bool is_neighbor(
const Atom &a1, 
const Atom &a2) 
const;
    22   virtual double upper_bound_radius()
 const{ 
return length*(1+tolerance);}
 Class to store positions and to handle operations on 3d vectors. 
Definition: Vec3d.h:9
 
Definition: Neighborhood_Criterion_Vector.h:6
 
Definition: Neighborhood_Criterion.h:6