Template Struct vector3D¶
Defined in File vector3D.hpp
Struct Documentation¶
-
template<typename T>
struct vector3D¶ Used to represent the position of a lattice or cluster site.
Public Functions
-
inline vector3D()¶
constructor
-
inline vector3D(const string &str)¶
constructor from a string
-
template<typename S>
inline vector3D &operator=(const vector3D<S> &q)¶ assignation operator overloading
-
template<typename S>
inline vector3D operator-(const vector3D<S> &q)¶ subtraction operator overloading
-
inline void sym(char s)¶
symmetrizes the vector w.r.t to some lattice operations
-
inline bool is_null()¶
checks whether the vector is zero
-
inline void cyclic()¶
-
inline void rotate(double theta)¶
-
inline double norm()¶
Public Static Attributes
-
static int dimension = 3¶
-
inline vector3D()¶