.. index:: pair: class; gpr::priors::ZBLPriorMean .. _doxid-classgpr_1_1priors_1_1_z_b_l_prior_mean: class gpr::priors::ZBLPriorMean =============================== .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class ZBLPriorMean { public: // typedefs typedef :ref:`PriorHessianPair` :target:`HessianPair`; // construction :target:`ZBLPriorMean`(const :ref:`AtomsConfiguration`& atoms_config); // methods bool :target:`active`() const; template double :target:`energy`(const Eigen::MatrixBase& positions) const; template :ref:`ZBLPriorMeanEvaluation` :target:`evaluate`(const Eigen::MatrixBase& positions) const; template std::vector<:ref:`HessianPair`> :ref:`hessianPairs`(const Eigen::MatrixBase& positions) const; void :target:`subtractFromTargets`(const :ref:`Coord`& positions, Eigen::Index energy_count, Eigen::VectorXd& targets) const; void :target:`addToObservation`(:ref:`Observation`& observation) const; static double :ref:`covalentRadius`(int Z); static double :ref:`repulsionOnsetRadius`(int Zi, int Zj); template static Eigen::MatrixXd :ref:`applyHessianPairs`(const std::vector<:ref:`HessianPair`>& pairs, const Eigen::MatrixBase& directions); }; .. _details-classgpr_1_1priors_1_1_z_b_l_prior_mean: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; hessianPairs .. _doxid-classgpr_1_1priors_1_1_z_b_l_prior_mean_1af65f49c8c79585a0da8c450d28e4a9ac: .. ref-code-block:: cpp :class: doxyrest-title-code-block template std::vector<:ref:`HessianPair`> hessianPairs(const Eigen::MatrixBase& positions) const Cartesian pair blocks retain only interactions inside the cutoff. .. index:: pair: function; covalentRadius .. _doxid-classgpr_1_1priors_1_1_z_b_l_prior_mean_1ada5b686685e1f07da6c1535b5d4dcce0: .. ref-code-block:: cpp :class: doxyrest-title-code-block static double covalentRadius(int Z) Cordero single-bond covalent radius (Angstrom) of atomic number Z. .. index:: pair: function; repulsionOnsetRadius .. _doxid-classgpr_1_1priors_1_1_z_b_l_prior_mean_1ad78ac87450b297fac7f6e11ffd7b32d5: .. ref-code-block:: cpp :class: doxyrest-title-code-block static double repulsionOnsetRadius(int Zi, int Zj) :ref:`Pair ` distance below which the switched repulsion is nonzero: the outer edge of the quintic switch, 0.75 of the covalent-radii sum. Above it the prior mean is exactly inert, so the residual process carries the whole surface; below it the delta-learning premise ends and every measured row becomes a Pauli-wall target. The band and the dimer use it as the per-element-pair contact floor of their domain. .. index:: pair: function; applyHessianPairs .. _doxid-classgpr_1_1priors_1_1_z_b_l_prior_mean_1a23f0fdf3b691d489efb3960330911f8d: .. ref-code-block:: cpp :class: doxyrest-title-code-block template static Eigen::MatrixXd applyHessianPairs(const std::vector<:ref:`HessianPair`>& pairs, const Eigen::MatrixBase& directions) Apply physical prior curvature without forming a dense Hessian.