.. index:: pair: class; rgpot::lr::CoulombPot .. _doxid-classrgpot_1_1lr_1_1_coulomb_pot: class rgpot::lr::CoulombPot =========================== .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block class CoulombPot: public rgpot::Potential< CoulombPot > { public: // construction :target:`CoulombPot`(:ref:`CoulombConfig` cfg, std::shared_ptr<:ref:`ChargeSource`> charges, std::shared_ptr<:ref:`ChargeResponse`> response = nullptr); // methods void :target:`forceImpl`(const :ref:`ForceInput`& in, :ref:`ForceOut`* out) const; virtual :ref:`PotCaps` :ref:`caps`() const; virtual uint64_t :ref:`paramsKey`() const; void :target:`setNeighbours`(std::shared_ptr<:ref:`DualList`> lists); const :ref:`DualList`& :target:`neighbours`() const; }; .. _details-classrgpot_1_1lr_1_1_coulomb_pot: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; caps .. _doxid-classrgpot_1_1lr_1_1_coulomb_pot_1ae60f12df250a7f1bfb86f3b97647fb7e: .. 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_1lr_1_1_coulomb_pot_1a20fdc1205b4c007c93e29055fa67c23d: .. 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.