|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Namespaces | |
| namespace | Symm_Other |
Classes | |
| class | Symmetry_Basic |
| Basic symmetry operations class. More... | |
| class | Symmetry |
| Symmetry analysis class. More... | |
Functions | |
| void | symmetrize_force_cartesian (Symmetry *symm, const int nat, const ModuleBase::Vector3< double > &a1, const ModuleBase::Vector3< double > &a2, const ModuleBase::Vector3< double > &a3, ModuleBase::matrix &force) |
| Symmetrize a per-atom Cartesian force vector in place. | |
Variables | |
| bool | test_brav |
| for test only | |
| void LCAO_domain::ModuleSymmetry::symmetrize_force_cartesian | ( | Symmetry * | symm, |
| const int | nat, | ||
| const ModuleBase::Vector3< double > & | a1, | ||
| const ModuleBase::Vector3< double > & | a2, | ||
| const ModuleBase::Vector3< double > & | a3, | ||
| ModuleBase::matrix & | force ) |
Symmetrize a per-atom Cartesian force vector in place.
Convert Cartesian -> direct, apply symmetrize_vec3_nat, then convert back to Cartesian. The lattice vectors are passed explicitly by the caller (the current cell), because Symmetry::a1/a2/a3 may have been replaced by the symmetry-optimized lattice during the analysis. Shared by the PW and LCAO force paths.
| symm | symmetry handler |
| nat | number of atoms |
| a1 | first lattice vector of the current cell |
| a2 | second lattice vector of the current cell |
| a3 | third lattice vector of the current cell |
| force | per-atom Cartesian forces, nat x 3, modified in place |
|
extern |
for test only