1 #ifndef QNANO_NEW_BOND_TYPE_DEFINED_H 2 #define QNANO_NEW_BOND_TYPE_DEFINED_H 3 #include "structure/Lattice.h" 13 std::pair<int, int> indices;
16 bool was_set_up()
const{
19 const Vec3d &get_D()
const{
20 return lat->list[indices.first][indices.second].D;
23 void calculate_from_vector(
const Lattice *l,
int el0,
int el1,
const Vec3d &v);
27 element[0]=other.element[0];
28 element[1]=other.element[1];
29 indices=other.indices;
36 calculate_from_vector(l,el0,el1,v);
Class to store positions and to handle operations on 3d vectors.
Definition: Vec3d.h:9
Definition: Bond_Type.h:10