StDescriptors
-
struct StDescriptors
Container for a structure descriptors.
Contains:
Atomic Energy Descriptors
Force Descriptors (Optional)
Stress Descriptors (Optional)
To fully initialise this object it needs to know:
number of atoms in a structure (from Structure)
number of nn for every atom (from Structure)
dimension of the descriptor vector (tadah::core::Context)
whether force and stress is being calculated (from tadah::core::Context)
Note
Required tadah::core::Context keys: FORCE STRESS. INTERNAL_KEY DSIZE.
Public Functions
-
StDescriptors(const Structure &s, const tadah::core::Context &c)
This constructor fully initialise this object
Requires:
Structure st to have NN calculated
tadah::core::Context c to contain keys: DSIZE, FORCE, STRESS
-
StDescriptors()
Default constructor. Object is left uninitialised
Public Members
-
tadah::core::aeds_type2 aeds
AED for all atoms
This object will always be initialised given provided Structure contains atoms.
Dimensions: [number of atoms, descriptor size]
-
std::vector<std::vector<tadah::core::fd_type>> fd
FD for all atoms
Dimensions: [number of atoms, number of atom NN, descriptor size, 3]