ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
relax_stru_io.h File Reference
Include dependency graph for relax_stru_io.h:
This graph shows which files directly or indirectly include this file:

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.