ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
setup_pot.h
Go to the documentation of this file.
1#ifndef SETUP_POT_H
2#define SETUP_POT_H
3
4#include "source_cell/klist.h"
10
12
13namespace pw
14{
15
16template <typename T, typename Device>
17void setup_pot(
18 const int istep,
19 UnitCell &ucell, // unitcell
20 const K_Vectors &kv, // kpoints
21 Structure_Factor &sf, // structure factors
22 elecstate::ElecState *pelec, // pointer of electrons
23 const Parallel_Grid &para_grid, // parallel of FFT grids
24 const Charge &chr, // charge density
25 pseudopot_cell_vl &locpp, // local pseudopotentials
26 pseudopot_cell_vnl &ppcell, // non-local pseudopotentials
27 VSep *vsep_cell, // U-1/2 method
28 psi::Psi<T, Device> *kspw_psi, // electronic wave functions
29 psi::Psi<std::complex<double>, Device> *onsite_psi, // persistent double-precision mirror
30 hamilt::HamiltBase *p_hamilt, // hamiltonian
31 ModulePW::PW_Basis_K *pw_wfc, // pw for wfc
32 const ModulePW::PW_Basis *pw_rhod, // pw for rhod
33 const std::string &out_dir,
34 const Input_para &inp); // input parameters
35
36}
37
38#endif
Definition vnl_pw.h:23
Definition deltaspin_pw.cpp:7
void setup_pot(const int istep, UnitCell &ucell, const K_Vectors &kv, Structure_Factor &sf, elecstate::ElecState *pelec, const Parallel_Grid &para_grid, const Charge &chr, pseudopot_cell_vl &locpp, pseudopot_cell_vnl &ppcell, VSep *vsep_cell, psi::Psi< T, Device > *kspw_psi, psi::Psi< std::complex< double >, Device > *onsite_psi, hamilt::HamiltBase *p_hamilt, ModulePW::PW_Basis_K *pw_wfc, const ModulePW::PW_Basis *pw_rhod, const std::string &out_dir, const Input_para &inp)
Definition setup_pot.cpp:10