ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/applications/atom2md/openmdformat.cpp
(Generate patch)

Comparing trunk/src/applications/atom2md/openmdformat.cpp (file contents):
Revision 1879 by gezelter, Sun Jun 16 15:15:42 2013 UTC vs.
Revision 2071 by gezelter, Sat Mar 7 21:41:51 2015 UTC

# Line 45 | Line 45 | namespace OpenBabel
45      };
46      
47      virtual const char* SpecificationURL()
48 <    {return "http://www.openmd.net";}; //optional
48 >    {return "http://www.openmd.org";}; //optional
49      
50      virtual const char* GetMIMEType()
51      {return "chemical/x-md"; };
# Line 83 | Line 83 | namespace OpenBabel
83      vector<bool> used(fragmentLists.size(), 0);
84      vector<vector<int> > molecules;
85      vector<int> indices;
86 <    for(int i =0; i < used.size(); ++i) {
86 >    for(std::size_t i =0; i < used.size(); ++i) {
87        if (used[i])
88          continue;
89  
# Line 92 | Line 92 | namespace OpenBabel
92        sameMolTypes.push_back(i);
93        indices.insert(indices.end(), fragmentLists[i].begin(),
94                       fragmentLists[i].end());
95 <      for (int j = i + 1;j < used.size(); ++j) {
95 >      for (std::size_t j = i + 1; j < used.size(); ++j) {
96          if (used[j])
97            continue;
98                  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines