ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
setup_pwrho.h
Go to the documentation of this file.
1#ifndef SETUP_PWRHO_H
2#define SETUP_PWRHO_H
3
4#include "source_cell/unitcell.h" // use UnitCell
5#include "source_io/module_parameter/input_parameter.h" // use Input_para
6
7namespace ModulePW
8{
9class PW_Basis;
10class PW_Basis_Big;
11} // namespace ModulePW
12
13namespace pw
14{
15
16void setup_pwrho(
17 UnitCell &ucell, // unitcell
18 const bool double_grid, // for USPP
19 bool &pw_rho_flag, // flag for allocation of pw_rho
20 ModulePW::PW_Basis *&pw_rho, // pw for rhod
21 ModulePW::PW_Basis *&pw_rhod, // pw for rhod
22 ModulePW::PW_Basis_Big *&pw_big, // pw for rhod
23 const std::string &classname,
24 const Input_para &inp); // input parameters *
25
27 bool &pw_rho_flag,
28 const bool double_grid,
29 ModulePW::PW_Basis *&pw_rho, // pw for rhod
30 ModulePW::PW_Basis *&pw_rhod); // pw for rhod
31
32} // namespace pw
33
34#endif
Definition pw_basis_big.h:11
A class which can convert a function of "r" to the corresponding linear superposition of plane waves ...
Definition pw_basis.h:60
Definition pw_op.cpp:3
Definition deltaspin_pw.cpp:7
void teardown_pwrho(bool &pw_rho_flag, const bool double_grid, ModulePW::PW_Basis *&pw_rho, ModulePW::PW_Basis *&pw_rhod)
Definition setup_pwrho.cpp:133
void setup_pwrho(UnitCell &ucell, const bool double_grid, bool &pw_rho_flag, ModulePW::PW_Basis *&pw_rho, ModulePW::PW_Basis *&pw_rhod, ModulePW::PW_Basis_Big *&pw_big, const std::string &classname, const Input_para &inp)
Definition setup_pwrho.cpp:6