ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/io/LennardJonesAtomTypesSectionParser.cpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/io/LennardJonesAtomTypesSectionParser.cpp (file contents):
Revision 1957 by tim, Tue Jan 25 17:45:23 2005 UTC vs.
Revision 2008 by tim, Sun Feb 13 19:10:25 2005 UTC

# Line 71 | Line 71 | void LennardJonesAtomTypesSectionParser::parseLine(For
71              ljParam.sigma = tokenizer.nextTokenAsDouble();
72              atomType->addProperty(new LJParamGenericData("LennardJones", ljParam));
73              atomType->setLennardJones();
74 +        }else {
75 +            sprintf(painCave.errMsg, "LennardJonesAtomTypesSectionParser Error: Atom Type [%s] is not created yet\n", atomTypeName.c_str());
76 +            painCave.isFatal = 1;
77 +            simError();    
78          }
79                        
80      }    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines