- Tested Functions:
- Constructor:
- Setup:
- setup_from_input(): to set latname, ntype, lmaxmax, init_vel, and lc
- Index
- set_iat2iait(): set index relations in two arrays of Unitcell: iat2it[nat], iat2ia[nat]
- iat2iait(): depends on the above function, but can find both ia & it from iat
- ijat2iaitjajt(): find ia, it, ja, jt from ijat (ijat_max = nat*nat) which collapses it, ia, jt, ja loop into a single loop
- GetAtomCounts
- get_atom_Counts(): get atomCounts, which is a map from atom type to atom number
- GetOrbitalCounts
- get_orbitalCounts(): get orbitalCounts, which is a map from atom type to orbital number
- CheckDTau
- check_dtau(): move all atomic coordinates into the first unitcell, i.e. in between [0,1)
- CheckTau
- check_tau(): check if any "two atoms are too close"
- Tested Functions:
- UpdatePosTaud
- update_pos_tau(double* pos)
- update_pos_taud(const double* pos)
- bcast_atoms_tau() is also called in the above function, which calls Atom::bcast_atom with many atomic info in addition to tau
- BcastUnitcell
- bcast basic info of unitcell and basic info of atoms
- BcastUnitcell2
- calls bcast_atoms2() to bcast atomic pseudo info
- ReadPseudo
- Tested Functions:
- ReadCellPPWarning1
- read_cell_pseudopots(): error when average the pseudopotential: error_ap
- ReadCellPPWarning2
- read_cell_pseudopots(): Couldn't find pseudopotential file:: error == 1
- ReadCellPPWarning3
- read_cell_pseudopots(): Pseudopotential data do not match: error ==2
- error==3 is currently difficult to reach in read_pseudo_vwr
- ReadCellPPWarning4
- read_cell_pseudopots(): dft_functional from INPUT does not match that in pseudopot file
- ReadCellPPWarning5
- read_cell_pseudopots(): Unknown pseudopotential type
- ReadCellPP
- read_cell_pseudopots(): read pp files with flag_empty_element set
- CalMeshx
- cal_meshx(): calculate max mesh info from atomic pseudo potential file
- CalNatomwfc1
- cal_natomwfc(): calculate total number of atomic orbitals in pseudo potential file
- NSPIN != 4
- this corresponds to number_of_wfc, PP_CHI in pp file, and atoms[it].ncpp.lchi[ncpp.nchi]
- setup the total number of PAOs: pseudopotential atomic orbitals
- CalNatomwfc2
- cal_natomwfc(): calculate total number of atomic orbitals in pseudo potential file
- NSPIN ==4, has_so = false
- CalNatomwfc3
- cal_natomwfc(): calculate total number of atomic orbitals in pseudo potential file
- NSPIN ==4, has_so = true
- CalNwfc1
- cal_nwfc(): calcuate the total number of local basis: NSPIN != 4
- this corresponds to number_of_proj, PP_BETA in pp file, and atoms[it].l_nchi[nw], nw from orb file
- setup nlocal parameter
- interfaces initialed in this function:
- itia2iat
- iat2iwt
- itiaiw2iwt
- iwt2iat
- iwt2iw
- CalNwfc2
- cal_nwfc(): calcuate the total number of local basis: NSPIN == 4
- CheckStructure
- check_atomic_stru(): check if too atoms are two close
- ReadPseudoWarning1
- read_pseudo(): All DFT functional must consistent.
- ReadPseudoWarning2
- read_pseudo(): number valence electrons > corresponding minimum possible of an element
- CalNelec: UnitCell::cal_nelec
- calculate the total number of valence electrons from psp files
- CalNbands: unitcell::cal_nbands()
- calculate the number of bands
- CompareAatomLabel
- compare_atom_labels(): accept equivalent element names and quit on mismatch
- PrintUnitcellPseudo
- print_unitcell_pseudo(): print basic cell and atom info to a pseudo log
- Tested Functions:
- SetupCellS1
- SetupCellS2
- SetupCellS4
- SetupCellWarning1
- setup_cell: Can not find the file containing atom positions.
- SetupCellWarning2
- setup_cell: Something wrong during read_atom_positions
- SetupCellAfterVC
- Tested Functions:
- ReadAtomSpecies
- read_atom_species(): read header part of orbital file
- ReadAtomPositions
- read_atom_positions(): read atomic coordinates, velocities, magmoms
- SetupCell
- setup_cell(): the pw version
◆ SetUp() [1/4]
| void UcellTest::SetUp |
( |
| ) |
|
|
inlineprotected |
◆ SetUp() [2/4]
| void UcellTest::SetUp |
( |
| ) |
|
|
inlineprotected |
◆ SetUp() [3/4]
| void UcellTest::SetUp |
( |
| ) |
|
|
inlineprotected |
◆ SetUp() [4/4]
| void UcellTest::SetUp |
( |
| ) |
|
|
inlineprotected |
◆ TearDown() [1/2]
| void UcellTest::TearDown |
( |
| ) |
|
|
inlineprotected |
◆ TearDown() [2/2]
| void UcellTest::TearDown |
( |
| ) |
|
|
inlineprotected |
◆ basis_type
| const std::string UcellTest::basis_type = "pw" |
|
protected |
◆ calculation
| const std::string UcellTest::calculation = "scf" |
|
protected |
◆ deepks_setorb
| const bool UcellTest::deepks_setorb = false |
|
protected |
◆ dfthalf_type
| const int UcellTest::dfthalf_type = 0 |
|
protected |
◆ esolver_type
| const std::string UcellTest::esolver_type = "cg" |
|
protected |
◆ fixed_atoms
| const bool UcellTest::fixed_atoms = false |
|
protected |
◆ init_wfc
| const std::string UcellTest::init_wfc = "atomic" |
|
protected |
◆ noncolin
| const bool UcellTest::noncolin = false |
|
protected |
◆ ofs
| std::ofstream UcellTest::ofs |
|
protected |
◆ onsite_radius
| const double UcellTest::onsite_radius = 0.0 |
|
protected |
◆ orbital_dir
| const std::string UcellTest::orbital_dir = "./" |
|
protected |
◆ output
| std::string UcellTest::output |
|
protected |
◆ pp_dir
| std::string UcellTest::pp_dir |
|
protected |
◆ pseudo_dir
| const std::string UcellTest::pseudo_dir = "./support" |
|
protected |
◆ rpa
| const bool UcellTest::rpa = false |
|
protected |
◆ symmetry_prec
| const double UcellTest::symmetry_prec = 1e-5 |
|
protected |
◆ ucell
◆ utp
The documentation for this class was generated from the following files: