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 202 by mmeineke, Tue Dec 10 21:41:26 2002 UTC

# Line 26 | Line 26 | mpiSimulation::~mpiSimulation(){
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 +  simTotAtoms = entryPlug->n_atoms;
53 +  simTotBonds = entryPlug->n_bonds;
54 +  simTotBends = entryPlug->n_bends;
55 +  simTotTorsions = entryPlug->n_torsions;
56 +  simTotSRI = entryPlug->n_SRI;
57 +  simTotNmol = entryPlug->n_nmol;
58 +
59    numerator = (double) entryPlug->n_atoms;
60    denominator = (double) numberProcessors;
61    precast = numerator / denominator;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines