19 std::string
latName =
"user_defined_lattice";
3x3 matrix and related mathamatical operations
Definition matrix3.h:15
3 elements vector
Definition vector3.h:21
Lattice information.
Definition unitcell_data.h:17
ModuleBase::Vector3< double > a1
Definition unitcell_data.h:28
ModuleBase::Matrix3 latvec
Unitcell lattice vectors, in unit of lat0.
Definition unitcell_data.h:27
double omega
the volume of the unit cell
Definition unitcell_data.h:24
ModuleBase::Vector3< double > latcenter
(a1+a2+a3)/2 the center of vector
Definition unitcell_data.h:29
ModuleBase::Matrix3 invGGT
inverse G
Definition unitcell_data.h:34
double tpiba2
tpiba ^ 2
Definition unitcell_data.h:23
std::string Coordinate
"Direct" or "Cartesian" or "Cartesian_angstrom"
Definition unitcell_data.h:18
ModuleBase::Vector3< double > a3
Same as latvec, just at another form.
Definition unitcell_data.h:28
ModuleBase::Matrix3 GT
transpose of G
Definition unitcell_data.h:32
std::vector< int > lat_axis_free
whether each lattice axis (a,b,c) is allowed to relax (0=fixed, 1=free)
Definition unitcell_data.h:25
ModuleBase::Matrix3 latvec_supercell
Supercell lattice vectors.
Definition unitcell_data.h:30
double lat0
Lattice constant(bohr)(a.u.).
Definition unitcell_data.h:20
std::string latName
Lattice name.
Definition unitcell_data.h:19
ModuleBase::Matrix3 GGT
GGT = G*GT.
Definition unitcell_data.h:33
ModuleBase::Matrix3 G
reciprocal lattice vector (2pi*inv(R))
Definition unitcell_data.h:31
double lat0_angstrom
Lattice constant(angstrom).
Definition unitcell_data.h:21
double tpiba
2*pi / lat0
Definition unitcell_data.h:22
ModuleBase::Vector3< double > a2
Definition unitcell_data.h:28