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

Comparing trunk/OOPSE/libmdtools/LJFF.cpp (file contents):
Revision 561 by mmeineke, Fri Jun 20 20:29:36 2003 UTC vs.
Revision 787 by mmeineke, Thu Sep 25 19:27:15 2003 UTC

# Line 123 | Line 123 | LJFF::LJFF(){
123    char* ffPath_env = "FORCE_PARAM_PATH";
124    char* ffPath;
125    char temp[200];
126  char errMsg[1000];
126  
127    headAtomType = NULL;
128    currentAtomType = NULL;
# Line 249 | Line 248 | void LJFF::readParams( void ){
248    info.last = 1; // initialize last to have the last set.
249                   // if things go well, last will be set to 0
250  
252  int i;
251    int identNum;
252    
253  
# Line 357 | Line 355 | void LJFF::readParams( void ){
355    int isDipole = 0;
356    int isSSD = 0;
357    int isGB = 0;
358 +  int isEAM = 0;
359    double dipole = 0.0;
360    
361    currentAtomType = headAtomType;
# Line 369 | Line 368 | void LJFF::readParams( void ){
368                   &isSSD,
369                   &isDipole,
370                   &isGB,
371 +                 &isEAM,
372                   &(currentAtomType->epslon),
373                   &(currentAtomType->sigma),
374                   &dipole,
# Line 402 | Line 402 | void LJFF::initializeAtoms( int nAtoms, Atom** the_ato
402    // initialize the atoms
403    
404  
405  Atom* thisAtom;
406
405    for( i=0; i<nAtoms; i++ ){
406      
407      currentAtomType = headAtomType->find( the_atoms[i]->getType() );

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines