ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/mpi_implementation/mpiSimulation.cpp
(Generate patch)

Comparing trunk/mdtools/mpi_implementation/mpiSimulation.cpp (file contents):
Revision 196 by chuckv, Thu Dec 5 21:37:51 2002 UTC vs.
Revision 200 by mmeineke, Mon Dec 9 20:54:42 2002 UTC

# Line 26 | Line 26 | void mpiSimulation::divideLabor(int nComponents, Molec
26   }
27  
28  
29 < void mpiSimulation::divideLabor(int nComponents, MoleculeStamp** compStamps, int* componentsNmol ){
30 <  
29 > void mpiSimulation::divideLabor( void ){
30 >
31 >  int nComponents;
32 >  MoleculeStamp** compStamps;
33 >  int* componentsNmol;
34 >
35    double numerator;
36    double denominator;
37    double precast;
# Line 41 | Line 45 | void mpiSimulation::divideLabor(int nComponents, Molec
45  
46    int testSum;
47  
48 +  nComponents = entryPlug->nComponents;
49 +  compStamps = entryPlug->compStamps;
50 +  componentsNmol = entryPlug->componentsNmol;
51 +
52    numerator = (double) entryPlug->n_atoms;
53    denominator = (double) numberProcessors;
54    precast = numerator / denominator;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines