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