|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Atom class for storing atom information. More...
Public Member Functions | |
| Atom () | |
| Constructor. | |
| ~Atom () | |
| Destructor. | |
| void | set_index () |
| Set index arrays. | |
| void | print_Atom (std::ofstream &ofs) |
| Print atom information. | |
| void | update_force (ModuleBase::matrix &fcs) |
| Update force. | |
| void | bcast_atom () |
| Broadcast atom data. | |
| void | bcast_atom2 () |
| Broadcast atom data (second version). | |
Public Attributes | |
| Atom_pseudo | ncpp |
| pseudopotential for this atom type | |
| double | mass = 0.0 |
| the mass of atom | |
| std::vector< ModuleBase::Vector3< int > > | mbl |
| whether the atoms can move or not | |
| bool | flag_empty_element = false |
| whether is the empty element for bsse (Peize Lin add 2021.04.07) | |
| std::vector< int > | iw2m |
| use iw to find m | |
| std::vector< int > | iw2n |
| use iw to find n | |
| std::vector< int > | iw2l |
| use iw to find L | |
| std::vector< int > | iw2_ylm |
| use iw to find ylm index | |
| std::vector< bool > | iw2_new |
| use iw to find new flag | |
| int | nw = 0 |
| number of local orbitals (l,n,m) of this type | |
| int | type = 0 |
| Index of atom type. | |
| int | na = 0 |
| Number of atoms in this type. | |
| int | nwl = 0 |
| max L(Angular momentum) (for local basis) | |
| double | Rcut = 0.0 |
| cut-off radius (pengfei Li 16-2-29) | |
| std::vector< int > | l_nchi |
| number of chi for each L | |
| int | stapos_wf = 0 |
| start position of wave functions | |
| std::string | label |
| atomic symbol | |
| std::vector< ModuleBase::Vector3< double > > | tau |
| Cartesian coordinates of each atom in this type, in unit of lat0. | |
| std::vector< ModuleBase::Vector3< double > > | dis |
| direct displacements of each atom in this type in current step (liuyu modify 2023-03-22) | |
| std::vector< ModuleBase::Vector3< double > > | taud |
| Direct coordinates of each atom in this type. | |
| std::vector< ModuleBase::Vector3< int > > | boundary_shift |
| record for periodic boundary adjustment | |
| std::vector< ModuleBase::Vector3< double > > | vel |
| velocities of each atom in this type | |
| std::vector< ModuleBase::Vector3< double > > | force |
| force acting on each atom in this type | |
| std::vector< ModuleBase::Vector3< double > > | lambda |
| Lagrange multiplier for each atom in this type, used in deltaspin. | |
| std::vector< ModuleBase::Vector3< int > > | constrain |
| constrain for each atom in this type, used in deltaspin | |
| std::string | label_orb |
| atomic element symbol in the orbital file of lcao | |
| std::vector< double > | mag |
| magnetic moment | |
| std::vector< double > | angle1 |
| spin angle, added by zhengdy-soc | |
| std::vector< double > | angle2 |
| spin angle, added by zhengdy-soc | |
| std::vector< ModuleBase::Vector3< double > > | m_loc_ |
| local magnetic moment | |
| bool | coulomb_potential = false |
| Coulomb potential v(r) = z/r It is a local potential, and has no non-local potential parts. | |
Atom class for storing atom information.
| LCAO_domain::Atom::Atom | ( | ) |
Constructor.
| LCAO_domain::Atom::~Atom | ( | ) |
Destructor.
| void LCAO_domain::Atom::bcast_atom | ( | ) |
Broadcast atom data.
| void LCAO_domain::Atom::bcast_atom2 | ( | ) |
Broadcast atom data (second version).
| void LCAO_domain::Atom::print_Atom | ( | std::ofstream & | ofs | ) |
Print atom information.
| ofs | output file stream |
| void LCAO_domain::Atom::set_index | ( | ) |
Set index arrays.
| void LCAO_domain::Atom::update_force | ( | ModuleBase::matrix & | fcs | ) |
Update force.
| fcs | force constant matrix |
| std::vector<double> LCAO_domain::Atom::angle1 |
spin angle, added by zhengdy-soc
| std::vector<double> LCAO_domain::Atom::angle2 |
spin angle, added by zhengdy-soc
| std::vector<ModuleBase::Vector3<int> > LCAO_domain::Atom::boundary_shift |
record for periodic boundary adjustment
| std::vector<ModuleBase::Vector3<int> > LCAO_domain::Atom::constrain |
constrain for each atom in this type, used in deltaspin
| bool LCAO_domain::Atom::coulomb_potential = false |
Coulomb potential v(r) = z/r It is a local potential, and has no non-local potential parts.
| std::vector<ModuleBase::Vector3<double> > LCAO_domain::Atom::dis |
direct displacements of each atom in this type in current step (liuyu modify 2023-03-22)
| bool LCAO_domain::Atom::flag_empty_element = false |
whether is the empty element for bsse (Peize Lin add 2021.04.07)
| std::vector<ModuleBase::Vector3<double> > LCAO_domain::Atom::force |
force acting on each atom in this type
| std::vector<bool> LCAO_domain::Atom::iw2_new |
use iw to find new flag
| std::vector<int> LCAO_domain::Atom::iw2_ylm |
use iw to find ylm index
| std::vector<int> LCAO_domain::Atom::iw2l |
use iw to find L
| std::vector<int> LCAO_domain::Atom::iw2m |
use iw to find m
| std::vector<int> LCAO_domain::Atom::iw2n |
use iw to find n
| std::vector<int> LCAO_domain::Atom::l_nchi |
number of chi for each L
| std::string LCAO_domain::Atom::label |
atomic symbol
| std::string LCAO_domain::Atom::label_orb |
atomic element symbol in the orbital file of lcao
| std::vector<ModuleBase::Vector3<double> > LCAO_domain::Atom::lambda |
Lagrange multiplier for each atom in this type, used in deltaspin.
| std::vector<ModuleBase::Vector3<double> > LCAO_domain::Atom::m_loc_ |
local magnetic moment
| std::vector<double> LCAO_domain::Atom::mag |
magnetic moment
| double LCAO_domain::Atom::mass = 0.0 |
the mass of atom
| std::vector<ModuleBase::Vector3<int> > LCAO_domain::Atom::mbl |
whether the atoms can move or not
| int LCAO_domain::Atom::na = 0 |
Number of atoms in this type.
| Atom_pseudo LCAO_domain::Atom::ncpp |
pseudopotential for this atom type
| int LCAO_domain::Atom::nw = 0 |
number of local orbitals (l,n,m) of this type
| int LCAO_domain::Atom::nwl = 0 |
max L(Angular momentum) (for local basis)
| double LCAO_domain::Atom::Rcut = 0.0 |
cut-off radius (pengfei Li 16-2-29)
| int LCAO_domain::Atom::stapos_wf = 0 |
start position of wave functions
| std::vector<ModuleBase::Vector3<double> > LCAO_domain::Atom::tau |
Cartesian coordinates of each atom in this type, in unit of lat0.
| std::vector<ModuleBase::Vector3<double> > LCAO_domain::Atom::taud |
Direct coordinates of each atom in this type.
| int LCAO_domain::Atom::type = 0 |
Index of atom type.
| std::vector<ModuleBase::Vector3<double> > LCAO_domain::Atom::vel |
velocities of each atom in this type