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

Comparing trunk/OOPSE-2.0/src/UseTheForce/EAM_FF.cpp (file contents):
Revision 1636 by chrisfen, Fri Oct 22 22:54:01 2004 UTC vs.
Revision 1650 by gezelter, Tue Oct 26 22:24:52 2004 UTC

# Line 1065 | Line 1065 | int EAM_NS::parseEAM(atomStruct &info, char *eamPotFil
1065    fclose(eamFile);
1066    return 0;
1067   }
1068
1069 double EAM_FF::getAtomTypeMass (char* atomType) {
1070
1071  currentAtomType = headAtomType->find( atomType );
1072  if( currentAtomType == NULL ){
1073    sprintf( painCave.errMsg,
1074            "AtomType error, %s not found in force file.\n",
1075             atomType );
1076    painCave.isFatal = 1;
1077    simError();
1078  }
1079
1080  return currentAtomType->mass;
1081 }
1082

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines