Atom_pseudo class for atom pseudopotential data.
More...
#include <atom_pseudo.h>
|
| | Atom_pseudo () |
| | ~Atom_pseudo () |
| void | set_d_so (ModuleBase::ComplexMatrix &d_so_in, const int &nproj_in, const int &nproj_in_so, const bool has_so, const bool lspinorb, const int nspin) |
| | Set spin-orbit coupling matrix.
|
| void | get_d (const int &is, const int &p1, const int &p2, const std::complex< double > *&tmp_d) |
| | Get spin-orbit coupling matrix.
|
| void | get_d (const int &is, const int &p1, const int &p2, const double *&tmp_d) |
| | Get real coupling matrix.
|
| void | bcast_atom_pseudo (void) |
| | Broadcast atom pseudopotential data.
|
| | pseudo () |
| | ~pseudo () |
| void | check_betar () |
| | Check the input data for non-normal numbers in the betar. Subsequent values following non-normal numbers will be reset to zero to prevent potential computational issues arising from invalid data.
|
| void | print_pseudo_h (std::ofstream &ofs) const |
| void | print_pseudo_atom (std::ofstream &ofs) const |
| void | print_pseudo_vl (std::ofstream &ofs) const |
| void | print_pseudo (std::ofstream &ofs) const |
|
| ModuleBase::ComplexArray | d_so |
| | spin-orbit coupling data (mohan add 2021-05-07)
|
| ModuleBase::matrix | d_real |
| | (:,:), non-spin-orbit case
|
| int | nproj |
| | number of projectors
|
| int | nproj_soc |
| | dimension of D_ij^so
|
| std::vector< int > | non_zero_count_soc = {0, 0, 0, 0} |
| | non-zero count for SOC
|
| std::vector< std::vector< int > > | index1_soc = {{}, {}, {}, {}} |
| | index1 for SOC
|
| std::vector< std::vector< int > > | index2_soc = {{}, {}, {}, {}} |
| | index2 for SOC
|
| bool | has_so = false |
| | PP_HEADER.
|
| int | nv = 0 |
| | UPF file version number.
|
| std::string | psd |
| | Element label.
|
| std::string | pp_type |
| | Pseudo type ( NC or US ).
|
| bool | tvanp = false |
| | .true. if Ultrasoft
|
| bool | nlcc = false |
| | Non linear core corrections(bool).
|
| std::string | xc_func |
| | Exch-Corr type.
|
| double | zv = 0 |
| | z valence
|
| double | etotps = 0.0 |
| | total energy
|
| double | ecutwfc = 0.0 |
| | suggested cut-off for wfc
|
| double | ecutrho = 0.0 |
| | suggested cut-off for rho
|
| int | lmax = 0 |
| | maximum angular momentum component
|
| int | mesh = 0 |
| | number of point in the radial mesh
|
| int | nchi = 0 |
| | nwfc,number of wavefunctions
|
| int | nbeta = 0 |
| | number of projectors
|
| int | nqlc = 0 |
| | number of angular momenta in Q
|
| int | kkbeta = 0 |
| | kkbeta, point where the beta are zero
|
| std::vector< std::string > | els = {} |
| | els[nchi]
|
| std::vector< int > | lchi = {} |
| | lchi[nchi]
|
| std::vector< double > | oc = {} |
| | oc[nchi]
|
| std::vector< double > | jjj = {} |
| | total angual momentum, jjj[nbeta]
|
| std::vector< double > | jchi = {} |
| | jchi(nwfc), added by zhengdy-soc
|
| std::vector< int > | nn = {} |
| std::vector< double > | vloc_at = {} |
| | PP_LOCAL - Local pseudopotentials.
|
| std::vector< double > | r = {} |
| | PP_MESH.
|
| std::vector< double > | rab = {} |
| | derivative of the radial mesh, rab[0:mesh-1]
|
| std::vector< double > | rho_atc = {} |
| | PP_NLCC.
|
| std::vector< double > | rho_at = {} |
| | PP_RHOATOM.
|
| ModuleBase::matrix | chi |
| | PP_PSWFC.
|
| int | msh = 0 |
| | PP_OTHER.
|
| double | rcut = 0.0 |
| | cut-off radius
|
| std::vector< int > | lll = {} |
| | PP_BETA.
|
| ModuleBase::matrix | dion |
| | PP_DIJ.
|
| ModuleBase::matrix | betar |
| | (nbeta, mesh), radial beta_{mu} functions
|
| int | nh = 0 |
| | PP_OTHER.
|
| ModuleBase::realArray | qfuncl |
| | USPP - Ultrasoft pseudopotential.
|
| ModuleBase::matrix | qqq |
| | qqq(nbeta,nbeta) q_{mu,nu}
|
Atom_pseudo class for atom pseudopotential data.
◆ Atom_pseudo()
| Atom_pseudo::Atom_pseudo |
( |
| ) |
|
|
inline |
◆ ~Atom_pseudo()
| Atom_pseudo::~Atom_pseudo |
( |
| ) |
|
|
inline |
◆ bcast_atom_pseudo()
| void Atom_pseudo::bcast_atom_pseudo |
( |
void | | ) |
|
Broadcast atom pseudopotential data.
For UPF201 format.
◆ get_d() [1/2]
| void Atom_pseudo::get_d |
( |
const int & | is, |
|
|
const int & | p1, |
|
|
const int & | p2, |
|
|
const double *& | tmp_d ) |
|
inline |
Get real coupling matrix.
- Parameters
-
| is | spin index |
| p1 | first projector index |
| p2 | second projector index |
| tmp_d | pointer to the matrix element (output) |
◆ get_d() [2/2]
| void Atom_pseudo::get_d |
( |
const int & | is, |
|
|
const int & | p1, |
|
|
const int & | p2, |
|
|
const std::complex< double > *& | tmp_d ) |
|
inline |
Get spin-orbit coupling matrix.
- Parameters
-
| is | spin index |
| p1 | first projector index |
| p2 | second projector index |
| tmp_d | pointer to the matrix element (output) |
◆ set_d_so()
| void Atom_pseudo::set_d_so |
( |
ModuleBase::ComplexMatrix & | d_so_in, |
|
|
const int & | nproj_in, |
|
|
const int & | nproj_in_so, |
|
|
const bool | has_so, |
|
|
const bool | lspinorb, |
|
|
const int | nspin ) |
Set spin-orbit coupling matrix.
- Parameters
-
| d_so_in | input complex matrix for SOC |
| nproj_in | number of projectors |
| nproj_in_so | number of projectors for SOC |
| has_so | whether SOC is present |
| lspinorb | whether spin-orbit is enabled |
| nspin | number of spin states |
◆ d_real
(:,:), non-spin-orbit case
◆ d_so
spin-orbit coupling data (mohan add 2021-05-07)
(:,:,:), spin-orbit case
◆ index1_soc
| std::vector<std::vector<int> > Atom_pseudo::index1_soc = {{}, {}, {}, {}} |
◆ index2_soc
| std::vector<std::vector<int> > Atom_pseudo::index2_soc = {{}, {}, {}, {}} |
◆ non_zero_count_soc
| std::vector<int> Atom_pseudo::non_zero_count_soc = {0, 0, 0, 0} |
◆ nproj
◆ nproj_soc
| int Atom_pseudo::nproj_soc |
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/atom_pseudo.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/atom_pseudo.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/module_symmetry/test/symm_rho_soc_test.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/module_symmetry/test/symm_test_analysis.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/module_symmetry/test/symm_test_symtrz.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/test/klist_test.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/test/klist_test_para.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/test/little_group_test.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/test/qlist_test.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/test/reciprocal_grid_test.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/test/test_sepcell.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_esolver/test/for_test.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_estate/module_dm/unittests/tmp_mocks.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_hamilt/module_gint/test/tmp_mocks.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_hamilt/module_hcontainer/unittests/tmp_mocks.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_hamilt/module_surchem/test/setcell.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_hamilt/module_vdw/unittests/test_vdw.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_io/module_dos/unittests/for_testing_klist.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_io/unittests/for_testing_klist.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_io/unittests/test_bessel_basis.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_io/unittests/test_output_log.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_io/unittests/test_to_qo.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_io/unittests/tmp_mocks.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_lcao/module_lr/ri_benchmark/test/ri_benchmark_test.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_lcao/module_operator_lcao/test/tmp_mocks.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_lcao/module_ri/module_exx_symmetry/test/symm_rotation_test.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_lcao/test/tmp_mocks.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_psi/test/psi_init_unit_test.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_pw/module_dfpt/unittests/test_dfpt_mocks.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_relax/unittests/for_test.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_relax/unittests/relax_test.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_relax/unittests/test_ions_move_lbfgs.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_relax/unittests/test_relax_nsync.cpp