#include <psi_init_file.h>
|
| | psi_init_file () |
| | ~psi_init_file () |
| virtual void | initialize (const Structure_Factor *sf, const ModulePW::PW_Basis_K *pw_wfc, const UnitCell *p_ucell, const std::vector< int > &ik2iktot, const int &random_seed, const int &rank, const int &npol, const int &nbands) override |
| | initialize the psi_base with external data and methods
|
| virtual void | init_psig (T *psig, const int &ik) override |
| | calculate and output planewave wavefunction
|
| void | prepare_params (const int &nspin, const std::string &global_read_in_dir, const int &rank_in_pool, const int &nproc_in_pool, const int &nkstot) |
| | psi_base () |
| virtual | ~psi_base () |
| virtual void | tabulate () |
| | CENTRAL FUNCTION: calculate the interpolate table if needed.
|
| std::string | method () const |
| int | nbands_start () const |
| int | nbands_complem () const |
| template<typename U> |
| std::enable_if< std::is_same< U, float >::value, U >::type | cast_to_T (const std::complex< double > in) |
| template<typename U> |
| std::enable_if< std::is_same< U, double >::value, U >::type | cast_to_T (const std::complex< double > in) |
| template<typename U> |
| std::enable_if< std::is_same< U, std::complex< float > >::value, U >::type | cast_to_T (const std::complex< double > in) |
| template<typename U> |
| std::enable_if< std::is_same< U, std::complex< double > >::value, U >::type | cast_to_T (const std::complex< double > in) |
|
| void | stick_to_pool (Real *stick, const int &ir, Real *out) const |
| | mapping from (ix, iy) to is
|
| void | random_t (T *psi, const int iw_start, const int iw_end, const int ik, const int mode=1) |
| | mode, 0 for rr*exp(i*arg), 1 for rr/(1+gk2)*exp(i*arg)
|
| const Structure_Factor * | sf_ = nullptr |
| | Structure_Factor.
|
| const ModulePW::PW_Basis_K * | pw_wfc_ = nullptr |
| | use |k+G>, |G>, getgpluskcar and so on in PW_Basis_K
|
| const UnitCell * | p_ucell_ = nullptr |
| | UnitCell.
|
| std::vector< int > | ik2iktot_ |
| | local->global k-point mapping
|
| int | random_seed_ = 1 |
| | random seed, shared by random, atomic+random, nao+random
|
| std::vector< int > | ixy2is_ |
| | used by stick_to_pool function
|
| std::string | method_ = "none" |
| | method name
|
| int | nbands_complem_ = 0 |
| | complement number of bands, which is nbands_start_ - ucell.natomwfc
|
| double | mixing_coef_ = 0 |
| | mixing coefficient for atomic+random and nao+random
|
| int | nbands_start_ = 0 |
| | starting nbands, which is no less than PARAM.inp.nbands
|
| int | npol_ = 1 |
| | number of polarizations
|
◆ Real
◆ psi_init_file()
◆ ~psi_init_file()
◆ init_psig()
◆ initialize()
◆ prepare_params()
| void psi_init_file< T >::prepare_params |
( |
const int & | nspin, |
|
|
const std::string & | global_read_in_dir, |
|
|
const int & | rank_in_pool, |
|
|
const int & | nproc_in_pool, |
|
|
const int & | nkstot ) |
◆ global_readin_dir_
◆ nkstot_
◆ nproc_in_pool_
◆ nspin_
◆ rank_in_pool_
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_psi/psi_init_file.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_psi/psi_init_file.cpp