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

Comparing trunk/OOPSE-1.0/libmdtools/DUFF.cpp (file contents):
Revision 1425 by gezelter, Tue Jul 27 16:13:29 2004 UTC vs.
Revision 1426 by gezelter, Wed Jul 28 16:26:33 2004 UTC

# Line 658 | Line 658 | void DUFF::initForceField( int ljMixRule ){
658    initFortran( ljMixRule, entry_plug->useReactionField );
659   }
660  
661 + double DUFF::getAtomTypeMass (char* atomType) {
662  
663 +  currentAtomType = headAtomType->find( atomType );
664 +  if( currentAtomType == NULL ){
665 +    sprintf( painCave.errMsg,
666 +            "AtomType error, %s not found in force file.\n",
667 +             atomType );
668 +    painCave.isFatal = 1;
669 +    simError();
670 +  }
671 +
672 +  return currentAtomType->mass;
673 + }
674 +
675   void DUFF::readParams( void ){
676  
677    int identNum;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines