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

Comparing trunk/OOPSE-4/src/UseTheForce/WATER.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 1089 | Line 1089 | double WATER::getAtomTypeMass (char* atomType) {
1089    }
1090    else return 0;
1091   }
1092 double WATER::getAtomTypeMass (char* atomType) {
1093
1094  currentAtomType = headAtomType->find( atomType );
1095  if( currentAtomType == NULL ){
1096    sprintf( painCave.errMsg,
1097            "AtomType error, %s not found in force file.\n",
1098             atomType );
1099    painCave.isFatal = 1;
1100    simError();
1101  }
1102
1103  return currentAtomType->mass;
1104 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines