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

Comparing trunk/OOPSE/libmdtools/ForceFields.cpp (file contents):
Revision 424 by mmeineke, Thu Mar 27 20:36:16 2003 UTC vs.
Revision 428 by mmeineke, Thu Mar 27 21:07:14 2003 UTC

# Line 2 | Line 2
2  
3   #ifdef IS_MPI
4   #include <mpi.h>
5 + #include <mpi++.h>
6   #endif // is_mpi
7  
8  
# Line 20 | Line 21 | void ForceFields::calcRcut( void ){
21  
22    //calc rCut and rList
23  
24 <  entry_plug->rCut = 2.5 bigSigma;
24 >  entry_plug->rCut = 2.5 * bigSigma;
25    if(entry_plug->rCut > (entry_plug->box_x / 2.0))
26      entry_plug->rCut = entry_plug->box_x / 2.0;
27    if(entry_plug->rCut > (entry_plug->box_y / 2.0))
# Line 42 | Line 43 | void ForceFields::doForces( int calcPot, int calcStres
43    double* A;
44    double* u_l;
45  
45
46    short int passedCalcPot = (short int)calcPot;
47    short int passedCalcStress = (short int)calcStress;
48  
# Line 54 | Line 54 | void ForceFields::doForces( int calcPot, int calcStres
54    }
55  
56    for(i=0; i<entry_plug->n_mol; i++ ){
57 <    entry_plug->molecules[i]->calc_forces();
57 >    entry_plug->molecules[i].calcForces();
58    }
59  
60    frc = Atom::getFrcArray();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines