ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Lattice Struct Reference

Lattice information. More...

#include <unitcell_data.h>

Collaboration diagram for Lattice:

Public Attributes

std::string Coordinate = "Direct"
 "Direct" or "Cartesian" or "Cartesian_angstrom"
std::string latName = "user_defined_lattice"
 Lattice name.
double lat0 = 0.0
 Lattice constant(bohr)(a.u.).
double lat0_angstrom = 0.0
 Lattice constant(angstrom).
double tpiba = 0.0
 2*pi / lat0
double tpiba2 = 0.0
 tpiba ^ 2
double omega = 0.0
 the volume of the unit cell
std::vector< int > lat_axis_free {0, 0, 0}
 whether each lattice axis (a,b,c) is allowed to relax (0=fixed, 1=free)
ModuleBase::Matrix3 latvec = ModuleBase::Matrix3()
 Unitcell lattice vectors, in unit of lat0.
ModuleBase::Vector3< double > a1
ModuleBase::Vector3< double > a2
ModuleBase::Vector3< double > a3
 Same as latvec, just at another form.
ModuleBase::Vector3< double > latcenter
 (a1+a2+a3)/2 the center of vector
ModuleBase::Matrix3 latvec_supercell = ModuleBase::Matrix3()
 Supercell lattice vectors.
ModuleBase::Matrix3 G = ModuleBase::Matrix3()
 reciprocal lattice vector (2pi*inv(R))
ModuleBase::Matrix3 GT = ModuleBase::Matrix3()
 transpose of G
ModuleBase::Matrix3 GGT = ModuleBase::Matrix3()
 GGT = G*GT.
ModuleBase::Matrix3 invGGT = ModuleBase::Matrix3()
 inverse G

Detailed Description

Lattice information.

Member Data Documentation

◆ a1

ModuleBase::Vector3<double> Lattice::a1

◆ a2

ModuleBase::Vector3<double> Lattice::a2

◆ a3

ModuleBase::Vector3<double> Lattice::a3

Same as latvec, just at another form.

◆ Coordinate

std::string Lattice::Coordinate = "Direct"

"Direct" or "Cartesian" or "Cartesian_angstrom"

◆ G

reciprocal lattice vector (2pi*inv(R))

◆ GGT

GGT = G*GT.

◆ GT

transpose of G

◆ invGGT

inverse G

◆ lat0

double Lattice::lat0 = 0.0

Lattice constant(bohr)(a.u.).

◆ lat0_angstrom

double Lattice::lat0_angstrom = 0.0

Lattice constant(angstrom).

◆ lat_axis_free

std::vector<int> Lattice::lat_axis_free {0, 0, 0}

whether each lattice axis (a,b,c) is allowed to relax (0=fixed, 1=free)

◆ latcenter

ModuleBase::Vector3<double> Lattice::latcenter

(a1+a2+a3)/2 the center of vector

◆ latName

std::string Lattice::latName = "user_defined_lattice"

Lattice name.

◆ latvec

Unitcell lattice vectors, in unit of lat0.

◆ latvec_supercell

ModuleBase::Matrix3 Lattice::latvec_supercell = ModuleBase::Matrix3()

Supercell lattice vectors.

◆ omega

double Lattice::omega = 0.0

the volume of the unit cell

◆ tpiba

double Lattice::tpiba = 0.0

2*pi / lat0

◆ tpiba2

double Lattice::tpiba2 = 0.0

tpiba ^ 2


The documentation for this struct was generated from the following file: