|
| bool | unitcell::if_atoms_can_move (const Atom *atoms, const int ntype) |
| | Judge if any atom can move (any mbl component is non-zero).
|
| bool | unitcell::if_cell_can_change (const std::vector< int > &lat_axis_free) |
| | Judge if any lattice vector can change.
|
| 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::setup_cell_after_vc (UnitCell &ucell, std::ofstream &log, const int nspin) |
| | Setup cell after vc-relaxation.
|
| void | unitcell::remake_cell (Lattice &lat) |
| | Adjust lattice vectors for constrained vc-relaxation.
|
| void | unitcell::print_tau (Atom *atoms, const std::string &Coordinate, const int ntype, const double lat0, std::ofstream &ofs) |
| | Print atom positions (tau).
|
| void | ModuleIO::print_screen (const int &stress_step, const int &force_step, const int &istep) |
| void | ModuleIO::output_after_relax (bool conv_ion, bool conv_esolver, std::ofstream &ofs_running) |
| | output after relaxation
|
| std::string | relax_stru_io::build_stru_header (const int istep, const double etot, const ModuleBase::matrix &stress, const Input_para &inp, const bool is_final, const bool geometry_evaluated) |
| | Build the header comment for a structure file.
|
| bool | relax_stru_io::need_orbital (const Input_para &inp) |
| | Whether orbital output is required in the structure file.
|
| void | relax_stru_io::write_stru (UnitCell &ucell, const Input_para &inp, const std::string &filename, const std::string &header, const ModuleBase::matrix &force, const bool need_orb, const bool deepks_setorb, const int my_rank, const bool has_force, const bool append) |
| | Write one structure file in STRU (out_stru == 1) or CIF (out_stru == 2) format.
|