.. index:: pair: class; rgpot::PerAtomTeam .. _doxid-classrgpot_1_1_per_atom_team: class rgpot::PerAtomTeam ======================== .. toctree:: :hidden: Overview ~~~~~~~~ Private per-atom arrays, one per slice, for a walk that writes both atoms of a pair from any slice. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class PerAtomTeam { public: // construction :target:`PerAtomTeam`(const :ref:`PerAtomOut`* target, std::size_t n, int nthreads); // methods :ref:`PerAtomOut` :target:`slot`(int t); void :target:`reduce`() const; }; .. _details-classrgpot_1_1_per_atom_team: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Private per-atom arrays, one per slice, for a walk that writes both atoms of a pair from any slice. Slice ``t`` tallies into ``slot(t)``; ``reduce`` adds the slots into the caller's arrays in slice order. A null target allocates nothing and hands out empty slots.