.. index:: pair: class; rgpot::NWChemPot .. _doxid-classrgpot_1_1_n_w_chem_pot: class rgpot::NWChemPot ====================== .. toctree:: :hidden: struct_rgpot_NWChemPot_Impl.rst Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block class NWChemPot: public rgpot::Potential< NWChemPot > { public: // structs struct :ref:`Impl`; // construction :target:`NWChemPot`(); :ref:`NWChemPot`(const ::NWChemParams::Reader& params); :target:`NWChemPot`(const NWChemPot&); :target:`~NWChemPot`(); // methods NWChemPot& :target:`operator=`(const NWChemPot&); void :target:`forceImpl`(const :ref:`ForceInput`& in, :ref:`ForceOut`* out) const; bool :ref:`setParams`(const ::NWChemParams::Reader& params); void :ref:`getParams`(::NWChemParams::Builder out) const; bool :ref:`setPotentialConfig`(const ::PotentialConfig::Reader& cfg, std::string* message_out = nullptr); bool :target:`available`() const; static bool :target:`probe_available`(); static bool :target:`abi_available`(); }; .. _details-classrgpot_1_1_n_w_chem_pot: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Construction ------------ .. index:: pair: function; NWChemPot .. _doxid-classrgpot_1_1_n_w_chem_pot_1ad66b7a1369f9e9ccc78f6d8d9adcd626: .. ref-code-block:: cpp :class: doxyrest-title-code-block NWChemPot(const ::NWChemParams::Reader& params) Apply schema defaults, then optional Cap'n Proto NWChemParams. Methods ------- .. index:: pair: function; setParams .. _doxid-classrgpot_1_1_n_w_chem_pot_1a1318591fc626ae2f3fdb27c40e380b0e: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool setParams(const ::NWChemParams::Reader& params) Apply NWChem arm payload as the next Cap'n Proto message for the engine. .. index:: pair: function; getParams .. _doxid-classrgpot_1_1_n_w_chem_pot_1af43bd2a50c93577f155b6ca4a85409f1: .. ref-code-block:: cpp :class: doxyrest-title-code-block void getParams(::NWChemParams::Builder out) const Write last applied NWChem params back to Cap'n Proto. .. index:: pair: function; setPotentialConfig .. _doxid-classrgpot_1_1_n_w_chem_pot_1afe1b5ac6acd29e8f8e3c56f92714f951: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool setPotentialConfig(const ::PotentialConfig::Reader& cfg, std::string* message_out = nullptr) Apply full rgpot PotentialConfig; only succeeds for none or nwchem arms.