# | Line 1 | Line 1 | |
---|---|---|
1 | #ifdef IS_MPI | |
2 | #include <iostream> | |
3 | < | #include <cstdlib> |
4 | < | #include <cstring> |
5 | < | #include <cmath> |
3 | > | #include <stdlib.h> |
4 | > | #include <string.h> |
5 | > | #include <math.h> |
6 | #include <mpi.h> | |
7 | ||
8 | #include "mpiSimulation.hpp" | |
# | Line 57 | Line 57 | int* mpiSimulation::divideLabor( void ){ | |
57 | int old_atoms, add_atoms, new_atoms; | |
58 | ||
59 | int nTarget; | |
60 | < | int molIndex, atomIndex, compIndex, compStart; |
60 | > | int molIndex, atomIndex; |
61 | int done; | |
62 | – | int nLocal, molLocal; |
62 | int i, j, loops, which_proc, nmol_local, natoms_local; | |
63 | int nmol_global, natoms_global; | |
64 | < | int local_index, index; |
66 | < | int smallDiff, bigDiff; |
64 | > | int local_index; |
65 | int baseSeed = entryPlug->getSeed(); | |
68 | – | |
69 | – | int testSum; |
66 | ||
67 | nComponents = entryPlug->nComponents; | |
68 | compStamps = entryPlug->compStamps; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |