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
5
6#include <string>
7
8namespace ModuleIO
9{
10void write_dipole(const UnitCell& ucell,
11 const double* rho_save,
12 const ModulePW::PW_Basis* rhopw,
13 const int& is,
14 const int& istep,
15 const std::string& fn,
16 const int& precision = 11);
17
18double prepare(const UnitCell& cell, int& dir);
19
20} // namespace ModuleIO
21
22#endif
A class which can convert a function of "r" to the corresponding linear superposition of plane waves ...
Definition pw_basis.h:56
Definition unitcell.h:16
This class has two functions: restart psi from the previous calculation, and write psi to the disk.
Definition cal_dos.h:9
double prepare(const UnitCell &cell, int &dir)
Definition write_dipole.cpp:148
void write_dipole(const UnitCell &ucell, const double *rho_save, const ModulePW::PW_Basis *rhopw, const int &is, const int &istep, const std::string &fn, const int &precision=11)
Definition write_dipole.cpp:8