ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
update_cell.cpp File Reference

Implementation of cell update functions. More...

Include dependency graph for update_cell.cpp:

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::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.
void unitcell::periodic_boundary_adjustment (Atom *atoms, const ModuleBase::Matrix3 &latvec, const int ntype)
 Check the boundary of the cell.

Detailed Description

Implementation of cell update functions.