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

Comparing branches/development/src/utils/LocalIndexManager.hpp (file contents):
Revision 1850 by gezelter, Wed Feb 20 15:39:39 2013 UTC vs.
Revision 1874 by gezelter, Wed May 15 15:09:35 2013 UTC

# Line 80 | Line 80 | namespace OpenMD {
80          std::cerr << "" << std::endl;
81        }
82  
83      IndexListContainerIterator i = indexContainer_.begin();
83        int result;
84              
85        result = indexContainer_.front().first;
# Line 129 | Line 128 | namespace OpenMD {
128        std::unique(indices.begin(), indices.end());
129  
130        std::vector<int>::iterator i;
132      IndexListContainerIterator insertPos;
131        int beginIndex;
132  
133        beginIndex = indices[0];
# Line 140 | Line 138 | namespace OpenMD {
138            beginIndex = *i;
139          }
140        }
143            
144            
141      }
142          
143      std::vector<int> getIndicesBefore(int index) {
# Line 197 | Line 193 | namespace OpenMD {
193        if (endIndex > maxIndex_) {
194          std::cerr << "" << std::endl;
195        }
196 <
201 <                      
202 <      IndexListContainerIterator j;
203 <
196 >      
197        IndexListContainerIterator i = indexContainer_.begin();  
198        for (; i != indexContainer_.end(); ++i) {
199          if ((*i).first > endIndex) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines