.. index:: pair: class; rgpot::TIP4PPtPot .. _doxid-classrgpot_1_1_t_i_p4_p_pt_pot: class rgpot::TIP4PPtPot ======================= .. toctree:: :hidden: struct_rgpot_TIP4PPtPot_Impl.rst Overview ~~~~~~~~ TIP4P water on platinum (Zhu-Philpott). :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class TIP4PPtPot: public rgpot::Potential< TIP4PPtPot > { public: // structs struct :ref:`Impl`; // construction :target:`TIP4PPtPot`(); :target:`TIP4PPtPot`(const :ref:`WaterConfig`& config); :target:`TIP4PPtPot`(const TIP4PPtPot&); :target:`~TIP4PPtPot`(); // methods TIP4PPtPot& :target:`operator=`(const TIP4PPtPot&); const :ref:`WaterConfig`& :target:`config`() const; virtual :ref:`PotCaps` :ref:`caps`() const; virtual uint64_t :ref:`paramsKey`() const; void :target:`forceImpl`(const :ref:`ForceInput`& in, :ref:`ForceOut`* out) const; }; .. _details-classrgpot_1_1_t_i_p4_p_pt_pot: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ TIP4P water on platinum (Zhu-Philpott). Hydrogens come in pairs at the front, then the oxygens, then the platinum atoms. Methods ------- .. index:: pair: function; caps .. _doxid-classrgpot_1_1_t_i_p4_p_pt_pot_1a45947c5e16d6c71b1275856ee882fbeb: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual :ref:`PotCaps` caps() const Concurrency and evaluation capabilities of this potential. Multi-threaded callers (NEB images, dimer endpoints) derive their sharing and cloning policy from this instead of hard-coded lists. .. index:: pair: function; paramsKey .. _doxid-classrgpot_1_1_t_i_p4_p_pt_pot_1a4ade068779069c7d98dc40b3413ba0f2: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual uint64_t paramsKey() const Fingerprint of the potential's parameter set. Mixed into the result-cache key so results never cross parameter sets. Implementations hash their config field by field (see :ref:`ParamHash.hpp `) plus a kernel-version salt that changes whenever the numerics change. The default (0) suits parameter-free potentials whose numerics never changed.