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

Comparing trunk/OOPSE-2.0/src/UseTheForce/DUFF.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 657 | Line 657 | double DUFF::getAtomTypeMass (char* atomType) {
657    initFortran( entry_plug->useReactionField );
658   }
659  
660 double DUFF::getAtomTypeMass (char* atomType) {
660  
662  currentAtomType = headAtomType->find( atomType );
663  if( currentAtomType == NULL ){
664    sprintf( painCave.errMsg,
665            "AtomType error, %s not found in force file.\n",
666             atomType );
667    painCave.isFatal = 1;
668    simError();
669  }
670
671  return currentAtomType->mass;
672 }
673
661   void DUFF::readParams( void ){
662  
663    int identNum, isError;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines