.. index:: pair: namespace; gpr::pairlocal .. _doxid-namespacegpr_1_1pairlocal: namespace gpr::pairlocal ======================== .. toctree:: :hidden: struct_gpr_pairlocal_Geometry.rst struct_gpr_pairlocal_Pair.rst struct_gpr_pairlocal_Weights.rst class_gpr_pairlocal_TileEvaluator.rst class_gpr_pairlocal_TiledLayoutSource.rst Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block namespace pairlocal { // structs struct :ref:`Geometry`; struct :ref:`Pair`; struct :ref:`Weights`; // classes class :ref:`TileEvaluator`; class :ref:`TiledLayoutSource`; // global functions bool :ref:`buildGeometry`(const :ref:`AtomsConfiguration`& configuration, const Eigen::MatrixXd& positions, :ref:`Geometry`& geometry); bool :target:`buildGeometry`(const :ref:`AtomsConfiguration`& configuration, const Eigen::MatrixXd& positions, :ref:`Geometry`& geometry, double far_radius); :ref:`Weights` :target:`weightsFromLogParameters`(const Eigen::VectorXd& theta, Eigen::Index n_pt); } // namespace pairlocal .. _details-namespacegpr_1_1pairlocal: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Global Functions ---------------- .. index:: pair: function; buildGeometry .. _doxid-namespacegpr_1_1pairlocal_1a0dffdc9f900d6b808f0dbd1efa504851: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool buildGeometry(const :ref:`AtomsConfiguration`& configuration, const Eigen::MatrixXd& positions, :ref:`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 :ref:`PairCutoff `. :ref:`Geometry ` is shared across all Cartesian channel pairs and hyperparameter evaluations.