|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Atom record owned by a distributed neighbor-search rank. More...
#include <local_atom.h>
Public Member Functions | |
| LocalAtom () | |
| LocalAtom (const ModuleBase::Vector3< double > &cart_in, const ModuleBase::Vector3< double > &frac_in, const ModuleBase::Vector3< double > &vel_in, const ModuleBase::Vector3< double > &force_in, const ModuleBase::Vector3< int > &mbl_in, double mass_in, int type_in, std::int64_t type_index_in, int owner_rank_in) | |
Public Attributes | |
| ModuleBase::Vector3< double > | cart |
| ModuleBase::Vector3< double > | frac |
| ModuleBase::Vector3< double > | vel |
| ModuleBase::Vector3< double > | force |
| ModuleBase::Vector3< double > | displacement |
| Unwrapped fractional displacement in the current MD step. | |
| ModuleBase::Vector3< int > | boundary_shift |
| Lattice translation applied in the current MD step. | |
| ModuleBase::Vector3< int > | mbl |
| double | mass |
| int | type |
| std::int64_t | type_index |
| int | owner_rank |
Atom record owned by a distributed neighbor-search rank.
cart is in lattice-coordinate units, matching UnitCell::tau and the existing NeighborSearch implementation. frac is wrapped into [0, 1) for owned atoms. Ghost atoms may have shifted cartesian coordinates while retaining the original wrapped frac coordinate for ownership metadata.
|
inline |
|
inline |
| ModuleBase::Vector3<int> LocalAtom::boundary_shift |
Lattice translation applied in the current MD step.
| ModuleBase::Vector3<double> LocalAtom::cart |
| ModuleBase::Vector3<double> LocalAtom::displacement |
Unwrapped fractional displacement in the current MD step.
| ModuleBase::Vector3<double> LocalAtom::force |
| ModuleBase::Vector3<double> LocalAtom::frac |
| double LocalAtom::mass |
| ModuleBase::Vector3<int> LocalAtom::mbl |
| int LocalAtom::owner_rank |
| int LocalAtom::type |
| std::int64_t LocalAtom::type_index |
| ModuleBase::Vector3<double> LocalAtom::vel |