|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include "source_basis/module_pw/pw_basis.h"#include "source_cell/unitcell.h"#include <fstream>#include <string>Go to the source code of this file.
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::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. | |