#include <psi_init_atomic.h>
|
| | psi_init_atomic () |
| | ~psi_init_atomic () |
| void | prepare_params (const int &nqx, const double &dq, const int &nspin, const bool &domag, const bool &domag_z, const bool &pseudo_mesh, const int &lmaxkb) |
| | Prepare parameters before initialization.
|
| 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 | tabulate () override |
| | CENTRAL FUNCTION: calculate the interpolate table if needed.
|
| virtual void | init_psig (T *psig, const int &ik) override |
| | CENTRAL FUNCTION: init psi in pw basis.
|
| | psi_base () |
| virtual | ~psi_base () |
| 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 | allocate_ps_table () |
| 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)
|
◆ Real
◆ psi_init_atomic()
◆ ~psi_init_atomic()
◆ allocate_ps_table()
◆ init_psig()
◆ initialize()
◆ prepare_params()
| void psi_init_atomic< T >::prepare_params |
( |
const int & | nqx, |
|
|
const double & | dq, |
|
|
const int & | nspin, |
|
|
const bool & | domag, |
|
|
const bool & | domag_z, |
|
|
const bool & | pseudo_mesh, |
|
|
const int & | lmaxkb ) |
Prepare parameters before initialization.
This method must be called before initialize(). It sets up the necessary parameters for the psi initialization process.
- Parameters
-
| nqx | Number of q-points for interpolation |
| dq | Spacing between q-points |
| nspin | Number of spin components |
| domag | Whether to use non-collinear magnetism |
| domag_z | Whether to use z-axis only non-collinear magnetism |
| pseudo_mesh | Whether to use pseudo mesh for radial grid |
| lmaxkb | Max angular momentum for non-local projectors |
- See also
- initialize()
◆ tabulate()
CENTRAL FUNCTION: calculate the interpolate table if needed.
Reimplemented from psi_base< T >.
◆ domag_
◆ domag_z_
◆ dq_
◆ lmaxkb_
◆ nqx_
◆ nspin_
◆ ovlp_pswfcjlq_
◆ params_prepared_
◆ pseudo_mesh_
◆ pseudopot_files_
The documentation for this class was generated from the following files: