Check frame atom count before evaluating selections
[alexxy/gromacs.git] / src / gromacs / selection / selectioncollection-impl.h
index a0af8d0659e689ab4514a3fdd7d75eb98d9bbe1e..a478143880c90f6ac544da149aa57071ceba95a0 100644 (file)
@@ -160,6 +160,8 @@ class SelectionCollection::Impl
         std::string             rpost_;
         //! Default output position type for selections.
         std::string             spost_;
+        //! Largest atom index needed by the selections for evaluation.
+        int                     maxAtomIndex_;
         /*! \brief
          * Debugging level for the collection.
          *