|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Per-atom spin constraint parameters parsed from STRU file. More...
#include <deltaspin_state.h>
Public Attributes | |
| int | index |
| Local atom index within its element type. | |
| std::vector< double > | lambda |
| Initial lambda values (Ry/uB), 3 components (x,y,z). | |
| std::vector< double > | target_mag |
| Target magnetic moment (uB), 3 components. | |
| std::vector< int > | constrain |
| Constraint flags: 0=free, 1=constrained, per component. | |
| int | mag_type |
| 0=Cartesian (mx,my,mz), 1=spherical (|M|,theta,phi) | |
| double | target_mag_val |
| For mag_type=1: target moment magnitude (uB). | |
| double | target_mag_angle1 |
| For mag_type=1: polar angle theta (degrees). | |
| double | target_mag_angle2 |
| For mag_type=1: azimuthal angle phi (degrees). | |
Per-atom spin constraint parameters parsed from STRU file.
Stores the raw constraint data for a single atom before it is distributed to the flat arrays (lambda_, target_mag_, constrain_).
| std::vector<int> spinconstrain::ScAtomData::constrain |
Constraint flags: 0=free, 1=constrained, per component.
| int spinconstrain::ScAtomData::index |
Local atom index within its element type.
| std::vector<double> spinconstrain::ScAtomData::lambda |
Initial lambda values (Ry/uB), 3 components (x,y,z).
| int spinconstrain::ScAtomData::mag_type |
0=Cartesian (mx,my,mz), 1=spherical (|M|,theta,phi)
| std::vector<double> spinconstrain::ScAtomData::target_mag |
Target magnetic moment (uB), 3 components.
| double spinconstrain::ScAtomData::target_mag_angle1 |
For mag_type=1: polar angle theta (degrees).
| double spinconstrain::ScAtomData::target_mag_angle2 |
For mag_type=1: azimuthal angle phi (degrees).
| double spinconstrain::ScAtomData::target_mag_val |
For mag_type=1: target moment magnitude (uB).