|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include "source_base/parallel_reduce.h"#include "source_io/module_dipole/dipole_io.h"#include "source_io/module_output/write_notice.h"#include <iomanip>Namespaces | |
| namespace | ModuleIO |
| Internal helpers shared by the R-space sparse text writers. Declared here (instead of duplicated in each anonymous namespace) so the header layout, R records and file-append rules cannot diverge between hs_sparse_io.cpp, dhs_sparse_writer.cpp, pos_op_csr.cpp, hsr_writer.cpp and write_dmr.cpp. | |
Functions | |
| void | ModuleIO::print_dipole_moment (std::ofstream &ofs_running, const std::string &name, double px, double py, double pz) |
| void | ModuleIO::write_dipole (const UnitCell &ucell, const double *rho, const ModulePW::PW_Basis *rhopw, const int &istep, const std::string &fn, std::ofstream &ofs_running, const int &precision=13) |
| Write aligned electronic dipoles; precision counts significant digits. | |