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

Comparing trunk/src/applications/randomBuilder/randomBuilder.cpp (file contents):
Revision 1076 by gezelter, Tue Oct 10 18:34:12 2006 UTC vs.
Revision 1077 by gezelter, Wed Oct 18 19:35:07 2006 UTC

# Line 42 | Line 42
42   *
43   *  Created by Charles F. Vardeman II on 10 Apr 2006.
44   *  @author  Charles F. Vardeman II
45 < *  @version $Id: randomBuilder.cpp,v 1.6 2006-10-10 18:34:12 gezelter Exp $
45 > *  @version $Id: randomBuilder.cpp,v 1.7 2006-10-18 19:35:07 gezelter Exp $
46   *
47   */
48  
# Line 388 | Line 388 | void createMdFile(const std::string&oldMdFileName,
388    
389    oldMdFile.close();
390    newMdFile.close();
391 +
392 +  if (i != nMol.size()) {
393 +    sprintf(painCave.errMsg, "Couldn't replace the correct number of nMol\n"
394 +            "\tstatements in component blocks.  Make sure that all\n"
395 +            "\tcomponents in the template file have nMol=1");
396 +    painCave.isFatal = 1;
397 +    simError();
398 +  }
399 +
400   }
401  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines