namespace gpr::pairlocal¶
Overview¶
namespace pairlocal {
// structs
struct Geometry;
struct Pair;
struct Weights;
// classes
class TileEvaluator;
class TiledLayoutSource;
// global functions
bool buildGeometry(const AtomsConfiguration& configuration, const Eigen::MatrixXd& positions, Geometry& geometry);
bool buildGeometry(const AtomsConfiguration& configuration, const Eigen::MatrixXd& positions, Geometry& geometry, double far_radius);
Weights weightsFromLogParameters(const Eigen::VectorXd& theta, Eigen::Index n_pt);
} // namespace pairlocal
Detailed Documentation¶
Global Functions¶
bool buildGeometry(const AtomsConfiguration& configuration, const Eigen::MatrixXd& positions, Geometry& geometry)
Builds the geometry from the moving-atom coordinates of every configuration (one row each; extra columns are ignored). Pairs are enumerated as Distance::dist_at does. A finite cutoff uses the same switched inverse distance and gradient as PairCutoff. Geometry is shared across all Cartesian channel pairs and hyperparameter evaluations.