|
| | Sep_Cell () noexcept |
| | ~Sep_Cell () noexcept |
| void | init (const int ntype_in) |
| | Sets the number of atom types and initializes internal vectors.
|
| void | set_omega (const double omega_in, const double tpiba2_in) |
| | Sets omega and tpiba2.
|
| int | read_sep_potentials (std::ifstream &ifpos, const std::string &pp_dir, std::ofstream &ofs_running, std::vector< std::string > &ucell_atom_label) |
| | Reads self potentials from STRU file and xx.sep files.
|
| void | bcast_sep_cell () |
| | Broadcasts the Sep_Cell object to all processes.
|
| const std::vector< SepPot > & | get_seps () const |
| | Getter methods.
|
| int | get_ntype () const |
| const std::vector< bool > & | get_sep_enable () const |
| double | get_omega () const |
| double | get_tpiba2 () const |
|
| std::vector< SepPot > | seps |
| | Self potentials for each atom type.
|
| int | ntype |
| | number of atom types
|
| std::vector< bool > | sep_enable |
| | Whether self potential is enabled for each atom type.
|
| double | omega |
| | unit cell data for VSep
|
| double | tpiba2 |
| | tpiba ^ 2
|
◆ Sep_Cell()
| LCAO_domain::Sep_Cell::Sep_Cell |
( |
| ) |
|
|
noexcept |
◆ ~Sep_Cell()
| LCAO_domain::Sep_Cell::~Sep_Cell |
( |
| ) |
|
|
noexcept |
◆ bcast_sep_cell()
| void LCAO_domain::Sep_Cell::bcast_sep_cell |
( |
| ) |
|
Broadcasts the Sep_Cell object to all processes.
◆ get_ntype()
| int LCAO_domain::Sep_Cell::get_ntype |
( |
| ) |
const |
|
inline |
◆ get_omega()
| double LCAO_domain::Sep_Cell::get_omega |
( |
| ) |
const |
|
inline |
◆ get_sep_enable()
| const std::vector< bool > & LCAO_domain::Sep_Cell::get_sep_enable |
( |
| ) |
const |
|
inline |
◆ get_seps()
| const std::vector< SepPot > & LCAO_domain::Sep_Cell::get_seps |
( |
| ) |
const |
|
inline |
◆ get_tpiba2()
| double LCAO_domain::Sep_Cell::get_tpiba2 |
( |
| ) |
const |
|
inline |
◆ init()
| void LCAO_domain::Sep_Cell::init |
( |
const int | ntype_in | ) |
|
Sets the number of atom types and initializes internal vectors.
- Parameters
-
| ntype_in | number of atom types |
◆ read_sep_potentials()
| int LCAO_domain::Sep_Cell::read_sep_potentials |
( |
std::ifstream & | ifpos, |
|
|
const std::string & | pp_dir, |
|
|
std::ofstream & | ofs_running, |
|
|
std::vector< std::string > & | ucell_atom_label ) |
Reads self potentials from STRU file and xx.sep files.
- Parameters
-
| ifpos | input file stream |
| pp_dir | pseudopotential directory |
| ofs_running | output file stream for running log |
| ucell_atom_label | atom labels from unit cell |
- Returns
- true if successful, false otherwise
◆ set_omega()
| void LCAO_domain::Sep_Cell::set_omega |
( |
const double | omega_in, |
|
|
const double | tpiba2_in ) |
Sets omega and tpiba2.
- Parameters
-
| omega_in | unit cell volume |
| tpiba2_in | tpiba squared |
◆ ntype
| int LCAO_domain::Sep_Cell::ntype |
|
private |
◆ omega
| double LCAO_domain::Sep_Cell::omega |
|
private |
unit cell data for VSep
unit cell Volume
◆ sep_enable
| std::vector<bool> LCAO_domain::Sep_Cell::sep_enable |
|
private |
Whether self potential is enabled for each atom type.
◆ seps
| std::vector<SepPot> LCAO_domain::Sep_Cell::seps |
|
private |
Self potentials for each atom type.
◆ tpiba2
| double LCAO_domain::Sep_Cell::tpiba2 |
|
private |
The documentation for this class was generated from the following file:
- /home/runner/work/abacus-develop/abacus-develop/source/source_lcao/lcao_nl_mu.cpp