ABACUS
develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
source
source_io
dipole_io.h
Go to the documentation of this file.
1
#ifndef DIPOLE_IO_H
2
#define DIPOLE_IO_H
3
4
#include "
source_basis/module_pw/pw_basis.h
"
5
6
#include <string>
7
8
namespace
ModuleIO
9
{
10
void
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
18
double
prepare
(
const
UnitCell
& cell,
int
& dir);
19
20
}
// namespace ModuleIO
21
22
#endif
ModulePW::PW_Basis
A class which can convert a function of "r" to the corresponding linear superposition of plane waves ...
Definition
pw_basis.h:56
UnitCell
Definition
unitcell.h:16
ModuleIO
This class has two functions: restart psi from the previous calculation, and write psi to the disk.
Definition
cal_dos.h:9
ModuleIO::prepare
double prepare(const UnitCell &cell, int &dir)
Definition
write_dipole.cpp:148
ModuleIO::write_dipole
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
pw_basis.h
Generated by
1.9.8