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

Comparing trunk/OOPSE/libmdtools/LJ_FF.cpp (file contents):
Revision 424 by mmeineke, Thu Mar 27 20:36:16 2003 UTC vs.
Revision 434 by chuckv, Fri Mar 28 19:30:59 2003 UTC

# Line 333 | Line 333 | void LJ_FF::readParams( void ){
333      
334      MPIcheckPoint();
335  
336 <    headAtomType = new LinkedType;
336 >    headAtomType = new LinkedAtomType;
337      recieveFrcStruct( &info, mpiAtomStructType );
338      
339      while( !info.last ){
# Line 397 | Line 397 | void LJ_FF::readParams( void ){
397      currentAtomType = currentAtomType->next;
398    }
399        
400 +  entry_plug->useLJ = 1;
401 +
402   #ifdef IS_MPI
403    sprintf( checkPointMsg,
404             "LJ_FF atom structures successfully sent to fortran\n" );
# Line 434 | Line 436 | void LJ_FF::initializeAtoms( int nAtoms, Atom** the_at
436  
437      if( bigSigma < currentAtomType->sigma ) bigSigma = currentAtomType->sigma;
438    }
437  
438  entry_plug->useLJ = 1;
439
440 #ifdef IS_MPI
441  sprintf( checkPointMsg, "LJ_FF atoms initialized succesfully" );
442  MPIcheckPoint();
443 #endif // is_mpi
444
439   }
440  
441   void LJ_FF::initializeBonds( int nBonds, Bond** BondArray,
# Line 453 | Line 447 | void LJ_FF::initializeBonds( int nBonds, Bond** BondAr
447        painCave.isFatal = 1;
448        simError();
449      }
456 #ifdef IS_MPI
457  MPIcheckPoint();
458 #endif // is_mpi
459
450   }
451  
452   void LJ_FF::initializeBends( int nBends, Bend** bendArray,
# Line 468 | Line 458 | void LJ_FF::initializeBends( int nBends, Bend** bendAr
458        painCave.isFatal = 1;
459        simError();
460      }
471 #ifdef IS_MPI
472  MPIcheckPoint();
473 #endif // is_mpi
474
461   }
462  
463   void LJ_FF::initializeTorsions( int nTorsions, Torsion** torsionArray,
# Line 483 | Line 469 | void LJ_FF::initializeTorsions( int nTorsions, Torsion
469        painCave.isFatal = 1;
470        simError();
471      }
486 #ifdef IS_MPI
487  MPIcheckPoint();
488 #endif // is_mpi
489
472   }
473  
474   void LJ_FF::fastForward( char* stopText, char* searchOwner ){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines