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

Comparing trunk/OOPSE-2.0/src/UseTheForce/EAM_FF.cpp (file contents):
Revision 1654 by gezelter, Wed Oct 27 02:16:34 2004 UTC vs.
Revision 1656 by gezelter, Wed Oct 27 03:00:51 2004 UTC

# Line 43 | Line 43 | namespace EAM_NS{
43    } atomStruct;
44  
45    int parseAtom( char *lineBuffer, int lineNum, atomStruct &info, string eamPotFile );
46 <  int parseEAM( atomStruct &info, string eamPotFile, double **eam_rvals,
47 <                double **eam_rhovals, double **eam_Frhovals);
46 >  int parseEAM( atomStruct &info, string ffPath, string eamPotFile,
47 >                double **eam_rvals, double **eam_rhovals,
48 >                double **eam_Frhovals);
49   #ifdef IS_MPI
50    
51    MPI_Datatype mpiAtomStructType;
# Line 357 | Line 358 | void EAM_FF::readParams( void ){
358          
359          // the parser returns 0 if the line was blank
360          if( parseAtom( readLine, lineNum, info, eamPotFile ) ){
361 <          parseEAM(info,eamPotFile, &eam_rvals,
361 >          parseEAM(info, ffPath, eamPotFile, &eam_rvals,
362                     &eam_rhovals, &eam_Frhovals);
363            info.ident = identNum;
364            headAtomType->add( info, eam_rvals,
# Line 664 | Line 665 | int EAM_NS::parseEAM(atomStruct &info, string eamPotFi
665    else return 0;
666   }
667  
668 < int EAM_NS::parseEAM(atomStruct &info, string eamPotFile,
668 > int EAM_NS::parseEAM(atomStruct &info, string ffPath, string eamPotFile,
669                       double **eam_rvals,
670                       double **eam_rhovals,
671                       double **eam_Frhovals){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines