# | 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; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |