ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/UseTheForce/LJFF.cpp
(Generate patch)

Comparing trunk/src/UseTheForce/LJFF.cpp (file contents):
Revision 143 by chrisfen, Fri Oct 22 22:54:01 2004 UTC vs.
Revision 157 by gezelter, Tue Oct 26 22:24:52 2004 UTC

# Line 358 | Line 358 | void LJFF::readParams( void ){
358        at->setIdent(currentAtomType->ident);
359        printf ("currentName = %s\n", currentAtomType->name);
360        at->setName(currentAtomType->name);    
361 +      printf("Did setName\n");
362        at->setLennardJones();
363 +      printf("Did setLennardJones\n");
364        at->complete();
365 +      printf("Did complete\n");
366        
367      }
368      currentAtomType = currentAtomType->next;
# Line 393 | Line 396 | void LJFF::readParams( void ){
396   #endif // is_mpi
397  
398   }
396
397 double LJFF::getAtomTypeMass (char* atomType) {
399  
399  currentAtomType = headAtomType->find( atomType );
400  if( currentAtomType == NULL ){
401    sprintf( painCave.errMsg,
402            "AtomType error, %s not found in force file.\n",
403             atomType );
404    painCave.isFatal = 1;
405    simError();
406  }
407
408  return currentAtomType->mass;
409 }
410
400   void LJFF::initializeAtoms( int nAtoms, Atom** the_atoms ){
401    
402    int i;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines