.. index:: pair: class; gpr::potentials::NwchemGradientOracle .. _doxid-classgpr_1_1potentials_1_1_nwchem_gradient_oracle: class gpr::potentials::NwchemGradientOracle =========================================== .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class NwchemGradientOracle { public: // construction :target:`NwchemGradientOracle`(std::filesystem::path executable, std::filesystem::path root, std::vector elements, bool dispersion = false, :ref:`NwchemNumericalSettings` settings = {}); // methods std::string :target:`inputText`(const Eigen::VectorXd& positions, bool curvature) const; std::string :target:`orbitalInputText`(const Eigen::VectorXd& positions, bool curvature) const; std::pair<:ref:`quantum::PotentialEvaluation`, Eigen::MatrixXd> :target:`compute`(const Eigen::VectorXd& positions, bool curvature); std::pair<:ref:`quantum::PotentialEvaluation`, Eigen::MatrixXd> :target:`computeWithOrbitals`(const Eigen::VectorXd& positions, bool curvature, const std::filesystem::path& seedFile); std::pair<:ref:`quantum::PotentialEvaluation`, Eigen::MatrixXd> :target:`readRetained`(const std::filesystem::path& directory, const Eigen::VectorXd& positions, bool curvature) const; std::pair<:ref:`quantum::PotentialEvaluation`, Eigen::MatrixXd> :target:`readRetainedWithOrbitals`(const std::filesystem::path& directory, const Eigen::VectorXd& positions, bool curvature) const; :ref:`quantum::PotentialEvaluation` :target:`evaluate`(const Eigen::VectorXd& positions); Eigen::MatrixXd :target:`hessian`(const Eigen::VectorXd& positions); auto :target:`evaluateWithHessian`(const Eigen::VectorXd& positions); std::size_t :target:`calls`() const; std::size_t :target:`hessianCalls`() const; };