49 const ModuleBase::Matrix3& latvec,
77 const double* posd_in,
92 const ModuleBase::Vector3<double>* posd_in,
105 void update_vel(
const ModuleBase::Vector3<double>* vel_in,
Free functions for extracting atom/orbital info from Atom array.
Definition bcast_cell.cpp:8
void update_vel(const ModuleBase::Vector3< double > *vel_in, const int ntype, const int nat, Atom *atoms)
Update the velocity of the atoms.
Definition update_cell.cpp:459
void remake_cell(Lattice &lat)
Adjust lattice vectors for constrained vc-relaxation.
Definition update_cell.cpp:13
void 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.
Definition update_cell.cpp:377
void 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.
Definition update_cell.cpp:408
void periodic_boundary_adjustment(Atom *atoms, const ModuleBase::Matrix3 &latvec, const int ntype)
Check the boundary of the cell.
Definition update_cell.cpp:477
void setup_cell_after_vc(UnitCell &ucell, std::ofstream &log, const int nspin)
Setup cell after vc-relaxation.
Definition update_cell.cpp:312
Data structures for unit cell information.