|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include "source_base/matrix.h"#include "source_cell/unitcell.h"#include "source_io/module_parameter/input_parameter.h"#include <string>Go to the source code of this file.
Namespaces | |
| namespace | relax_stru_io |
| Helpers for writing structure (STRU/CIF) files during relaxation. | |
Functions | |
| 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. | |