ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/mpiSimulation.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/mpiSimulation.cpp (file contents):
Revision 787 by mmeineke, Thu Sep 25 19:27:15 2003 UTC vs.
Revision 958 by gezelter, Mon Jan 19 16:09:52 2004 UTC

# 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 127 | Line 127 | int* mpiSimulation::divideLabor( void ){
127          // How many atoms does this processor have?
128          
129          old_atoms = AtomsPerProc[which_proc];
130 <        add_atoms = compStamps[MolComponentType[i]]->getNAtoms();
130 >        add_atoms = compStamps[MolComponentType[i]]->getTotAtoms();
131          new_atoms = old_atoms + add_atoms;
132  
133          // If we've been through this loop too many times, we need

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines