ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/utils/LocalIndexManager.hpp
(Generate patch)

Comparing:
trunk/src/utils/LocalIndexManager.hpp (file contents), Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC vs.
branches/development/src/utils/LocalIndexManager.hpp (file contents), Revision 1540 by gezelter, Mon Jan 17 21:34:36 2011 UTC

# Line 293 | Line 293 | namespace OpenMD {
293  
294      void releaseRigidBodyIndex(std::vector<int> indices) {
295        rigidBodyIndexContainer_.insert(indices);
296 +    }
297 +
298 +    int getNextCutoffGroupIndex() {
299 +      return cutoffGroupIndexContainer_.pop();
300 +    }
301 +
302 +    std::vector<int> getCutoffGroupIndicesBefore(int index) {
303 +      return cutoffGroupIndexContainer_.getIndicesBefore(index);
304      }
305 +        
306 +    void releaseCutoffGroupIndex(int index) {
307 +      cutoffGroupIndexContainer_.insert(index);
308 +    }
309 +
310 +    void releaseCutoffGroupIndex(int beginIndex, int endIndex) {
311 +      cutoffGroupIndexContainer_.insert(beginIndex, endIndex);
312 +    }
313 +
314 +    void releaseCutoffGroupIndex(std::vector<int> indices) {
315 +      cutoffGroupIndexContainer_.insert(indices);
316 +    }
317  
318    private:
319  
320      IndexListContainer atomIndexContainer_;
321      IndexListContainer rigidBodyIndexContainer_;
322 +    IndexListContainer cutoffGroupIndexContainer_;
323    };
324  
325   } //end namespace OpenMD

Comparing:
trunk/src/utils/LocalIndexManager.hpp (property svn:keywords), Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC vs.
branches/development/src/utils/LocalIndexManager.hpp (property svn:keywords), Revision 1540 by gezelter, Mon Jan 17 21:34:36 2011 UTC

# Line 0 | Line 1
1 + Author Id Revision Date

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines