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

Comparing trunk/OOPSE/libmdtools/DumpReader.cpp (file contents):
Revision 1198 by tim, Thu May 27 00:48:12 2004 UTC vs.
Revision 1203 by gezelter, Thu May 27 18:59:17 2004 UTC

# Line 327 | Line 327 | void DumpReader :: readSet( int whichFrame ){
327        simError();
328      }
329  
330 <    for (i=0 ; i < mpiSim->getTotNmol(); i++) {
330 >    for (i=0 ; i < mpiSim->getNMolGlobal(); i++) {
331        which_node = MolToProcMap[i];
332        if(which_node == 0){
333         //molecules belong to master node
# Line 405 | Line 405 | void DumpReader :: readSet( int whichFrame ){
405        simError();
406      }
407    
408 <    for (i=0 ; i < mpiSim->getTotNmol(); i++) {
408 >    for (i=0 ; i < mpiSim->getNMolGlobal(); i++) {
409        which_node = MolToProcMap[i];
410        
411        if(which_node == worldRank){
# Line 744 | Line 744 | void DumpReader::nodeZeroError( void ){
744    int j, myStatus;
745  
746    myStatus = 0;
747 <  for (j = 0; j < mpiSim->getNprocessors(); j++) {
747 >  for (j = 0; j < mpiSim->getNProcessors(); j++) {
748      MPI_Send( &myStatus, 1, MPI_INT, j,
749                TAKE_THIS_TAG_INT, MPI_COMM_WORLD);
750    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines