|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Functions for updating cell information. More...
Go to the source code of this file.
Namespaces | |
| namespace | unitcell |
| Free functions for extracting atom/orbital info from Atom array. | |
Functions | |
| void | unitcell::remake_cell (Lattice &lat) |
| Adjust lattice vectors for constrained vc-relaxation. | |
| void | unitcell::setup_cell_after_vc (UnitCell &ucell, std::ofstream &log, const int nspin) |
| Setup cell after vc-relaxation. | |
| void | unitcell::periodic_boundary_adjustment (Atom *atoms, const ModuleBase::Matrix3 &latvec, const int ntype) |
| Check the boundary of the cell. | |
| void | unitcell::update_pos_tau (const Lattice &lat, const double *pos, const int ntype, const int nat, Atom *atoms) |
| Update the position and tau of the atoms. | |
| void | unitcell::update_pos_taud (const Lattice &lat, const double *posd_in, const int ntype, const int nat, Atom *atoms) |
| Update the position and taud of the atoms. | |
| void | unitcell::update_pos_taud (const Lattice &lat, const ModuleBase::Vector3< double > *posd_in, const int ntype, const int nat, Atom *atoms) |
| Update the position and taud of the atoms (Vector3 version). | |
| void | unitcell::update_vel (const ModuleBase::Vector3< double > *vel_in, const int ntype, const int nat, Atom *atoms) |
| Update the velocity of the atoms. | |
Functions for updating cell information.
This file contains functions for: