ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
dipole_io.h
Go to the documentation of this file.
1#ifndef DIPOLE_IO_H
2#define DIPOLE_IO_H
3
6
7#include <fstream>
8#include <string>
9
10namespace ModuleIO
11{
13void write_dipole(const UnitCell& ucell,
14 const double* rho,
15 const ModulePW::PW_Basis* rhopw,
16 const int& istep,
17 const std::string& fn,
18 std::ofstream& ofs_running,
19 const int& precision = 13);
20
21} // namespace ModuleIO
22
23#endif
Internal helpers shared by the R-space sparse text writers. Declared here (instead of duplicated in e...
Definition csr_reader.cpp:8
void 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.
Definition write_dipole.cpp:47