struct gpr::CutoffPairFeature

Sparse pair feature in a fixed atom-index vocabulary. Frozen atoms follow the moving atoms in the index space and have no independent coordinates.

#include <gpr/auxiliary/PairCutoff.h>
 
struct CutoffPairFeature {
    // fields
 
    Eigen::Index first;
    Eigen::Index second;
    Eigen::Index type;
    double value;
    Eigen::Vector3d gradient;
    Eigen::Matrix3d hessian;
 
    // methods
 
    double derivative(Eigen::Index coordinate) const;
};