.. index:: pair: namespace; rgpot::nlist::detail .. _doxid-namespacergpot_1_1nlist_1_1detail: namespace rgpot::nlist::detail ============================== .. toctree:: :hidden: struct_rgpot_nlist_detail_Grid.rst struct_rgpot_nlist_detail_Key.rst struct_rgpot_nlist_detail_Scratch.rst .. ref-code-block:: cpp :class: doxyrest-overview-code-block namespace detail { // structs struct :ref:`Grid`; struct :ref:`Key`; struct :ref:`Scratch`; // global variables int :target:`kHalf`[14][3] = { {0, 0, 0}, {0, 0, 1}, {0, 1, -1}, {0, 1, 0}, {0, 1, 1}, {1, -1, -1}, {1, -1, 0}, {1, -1, 1}, {1, 0, -1}, {1, 0, 0}, {1, 0, 1}, {1, 1, -1}, {1, 1, 0}, {1, 1, 1}, }; // global functions :ref:`Key` :target:`legacyKey`(int lo, int hi, const :ref:`Scratch`& s, const :ref:`Grid`& g); bool :target:`keyLess`(const :ref:`Key`& a, const :ref:`Key`& b); void :target:`sortLegacy`(:ref:`Scratch`& s); void :target:`fillPairs`(const double* positions, const double* box, std::size_t n, double cutoff, double search, :ref:`Scratch`& s); double :target:`roundHalf`(double t); double :target:`foldExact`(double delta, double len); bool :target:`orthogonal`(const double* box, double& lx, double& ly, double& lz); double :target:`folded`(double x, double len); int :target:`bin`(double x, double len, int n); bool :target:`makeGrid`(const double* box, double edge, :ref:`Grid`& g); void :target:`binAtoms`(const double* pos, std::size_t n, const :ref:`Grid`& g, std::vector& cell_of, std::vector& rank, std::vector& counts, std::vector& start, std::vector& atoms, bool ranks); void :target:`foldOrtho`(double& dx, double& dy, double& dz, double lx, double ly, double lz); bool :target:`within`(const double* pos, int i, int j, double lx, double ly, double lz, bool ortho, :ref:`MinimumImage`& image, double cut2); void :target:`pushPair`(:ref:`Scratch`& s, int a, int b, double dx, double dy, double dz); void :target:`halfShell`(const double* pos, std::size_t n, const :ref:`Grid`& g, const std::vector& start, const std::vector& atoms, double cut2, :ref:`Scratch`& s); } // namespace detail