| 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; |
| 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; |