Apply clang-format to source tree
[alexxy/gromacs.git] / src / gromacs / domdec / localatomsetmanager.h
index 8d6aed53098a6502c6dffa9a30124efa1293fb8a..2c7bafed200b71ff6b00770d4248946162829db9 100644 (file)
@@ -66,43 +66,43 @@ class LocalAtomSet;
  */
 class LocalAtomSetManager
 {
-    public:
-        LocalAtomSetManager();
-        ~LocalAtomSetManager();
+public:
+    LocalAtomSetManager();
+    ~LocalAtomSetManager();
 #ifndef DOXYGEN
-        /*! \brief Add a new atom set to be managed and give back a handle.
-         *
-         * \todo remove this routine once all indices are represented as
-         *       gmx::index instead of int.
-         *
-         * \note Not created if the internal int type does match index
-         *
-         * \tparam T template parameter to use SFINAE for conditional function
-         *           activation
-         * \tparam U template parameter for conditional function activation
-         *
-         * \param[in] globalAtomIndex Indices of the atoms to be managed
-         * \returns Handle to LocalAtomSet.
-         */
-        template<typename T = void, typename U = std::enable_if_t< !std::is_same<int, index>::value, T> >
-        LocalAtomSet add(ArrayRef<const int> globalAtomIndex);
+    /*! \brief Add a new atom set to be managed and give back a handle.
+     *
+     * \todo remove this routine once all indices are represented as
+     *       gmx::index instead of int.
+     *
+     * \note Not created if the internal int type does match index
+     *
+     * \tparam T template parameter to use SFINAE for conditional function
+     *           activation
+     * \tparam U template parameter for conditional function activation
+     *
+     * \param[in] globalAtomIndex Indices of the atoms to be managed
+     * \returns Handle to LocalAtomSet.
+     */
+    template<typename T = void, typename U = std::enable_if_t<!std::is_same<int, index>::value, T>>
+    LocalAtomSet add(ArrayRef<const int> globalAtomIndex);
 #endif
-        /*! \brief Add a new atom set to be managed and give back a handle.
-         *
-         * \param[in] globalAtomIndex Indices of the atoms to be managed
-         * \returns Handle to LocalAtomSet.
-         */
-        LocalAtomSet add(ArrayRef<const index> globalAtomIndex);
+    /*! \brief Add a new atom set to be managed and give back a handle.
+     *
+     * \param[in] globalAtomIndex Indices of the atoms to be managed
+     * \returns Handle to LocalAtomSet.
+     */
+    LocalAtomSet add(ArrayRef<const index> globalAtomIndex);
 
-        /*! \brief Recalculate local and collective indices from ga2la.
-         * Uses global atom to local atom lookup structure to
-         * update atom indices.
-         */
-        void setIndicesInDomainDecomposition(const gmx_ga2la_t &ga2la);
+    /*! \brief Recalculate local and collective indices from ga2la.
+     * Uses global atom to local atom lookup structure to
+     * update atom indices.
+     */
+    void setIndicesInDomainDecomposition(const gmx_ga2la_t& ga2la);
 
-    private:
-        class Impl;
-        PrivateImplPointer<Impl> impl_;
+private:
+    class Impl;
+    PrivateImplPointer<Impl> impl_;
 };
 
 } // namespace gmx