.. index:: pair: class; rgpot::lr::SumPot .. _doxid-classrgpot_1_1lr_1_1_sum_pot: class rgpot::lr::SumPot ======================= .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block class SumPot: public rgpot::Potential< SumPot > { public: // construction :target:`SumPot`(); // methods void :target:`add`(std::unique_ptr<:ref:`PotentialBase`> term); void :target:`shareNeighbours`(std::shared_ptr<:ref:`DualList`> lists); void :target:`forceImpl`(const :ref:`ForceInput`& in, :ref:`ForceOut`* out) const; virtual :ref:`PotCaps` :ref:`caps`() const; std::size_t :target:`size`() const; }; .. _details-classrgpot_1_1lr_1_1_sum_pot: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; caps .. _doxid-classrgpot_1_1lr_1_1_sum_pot_1ab3c654f0eda1418de3c6af6bc1b07500: .. 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.