ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
write_dipole.cpp File Reference
Include dependency graph for write_dipole.cpp:

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.