ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-4/src/UseTheForce/EAM.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-4/src/UseTheForce/EAM.cpp (file contents):
Revision 1760 by tim, Fri Nov 19 20:23:26 2004 UTC vs.
Revision 1762 by tim, Fri Nov 19 21:38:22 2004 UTC

# Line 58 | Line 58 | void EAM::parse(const std::string& filename) {
58              double mass;        
59              StringTokenizer tokenizer(line);
60              
61 <            if (tokenizer.countToken() >= 3) {
61 >            if (tokenizer.countTokens() >= 3) {
62                  atomTypeName = tokenizer.nextToken();
63                  mass = tokenizer.nextTokenAsDouble();
64                  std::string potentialParamFile = tokenizer.nextToken();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines