Pass cFREEZE and cTC to update after DD partitioning
[alexxy/gromacs.git] / src / gromacs / mdlib / update.h
index 1e7a5d530ff9559b561f73a776fbc7f2b2d2d938..10a93faa51871728db8f856be1f8f56326e0b88a 100644 (file)
@@ -93,11 +93,15 @@ public:
      * \returns handle to box deformation class
      */
     BoxDeformation* deform() const;
-    /*! \brief Resizes buffer that stores intermediate coordinates.
+    /*! \brief Sets data that changes only at domain decomposition time.
      *
      * \param[in] numAtoms  Updated number of atoms.
+     * \param[in] cFREEZE   Group index for freezing
+     * \param[in] cTC       Group index for center of mass motion removal
      */
-    void setNumAtoms(int numAtoms);
+    void updateAfterPartition(int                                 numAtoms,
+                              gmx::ArrayRef<const unsigned short> cFREEZE,
+                              gmx::ArrayRef<const unsigned short> cTC);
 
     /*! \brief Perform numerical integration step.
      *