--- trunk/OOPSE/libmdtools/mpiSimulation.cpp 2003/09/25 19:27:15 787 +++ trunk/OOPSE/libmdtools/mpiSimulation.cpp 2004/01/19 16:09:52 958 @@ -1,8 +1,8 @@ #ifdef IS_MPI #include -#include -#include -#include +#include +#include +#include #include #include "mpiSimulation.hpp" @@ -127,7 +127,7 @@ int* mpiSimulation::divideLabor( void ){ // How many atoms does this processor have? old_atoms = AtomsPerProc[which_proc]; - add_atoms = compStamps[MolComponentType[i]]->getNAtoms(); + add_atoms = compStamps[MolComponentType[i]]->getTotAtoms(); new_atoms = old_atoms + add_atoms; // If we've been through this loop too many times, we need