ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/parallel/Communicator.hpp
(Generate patch)

Comparing:
branches/development/src/parallel/Communicator.hpp (file contents), Revision 1665 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
trunk/src/parallel/Communicator.hpp (file contents), Revision 1796 by gezelter, Mon Sep 10 18:38:44 2012 UTC

# Line 72 | Line 72 | namespace OpenMD{
72      static int Length() { return 1; };
73    };
74    
75 <  template<> inline MPI::Datatype MPITraits<int>::Type() { return MPI_INT; }
76 <  template<> inline MPI::Datatype MPITraits<RealType>::Type() { return MPI_REALTYPE; }
75 >  template<> inline MPI::Datatype MPITraits<int>::Type() { return MPI::INT; }
76 >  template<> inline MPI::Datatype MPITraits<RealType>::Type() { return MPI::REALTYPE; }
77  
78    template<class T, unsigned int Dim>
79    class MPITraits< Vector<T, Dim> > {
# Line 120 | Line 120 | namespace OpenMD{
120          if (nProc % i == 0) nColumns = i;        
121        }
122          
123      int nRows = nProc / nColumns;
123        rowIndex_ = myRank / nColumns;      
124        columnIndex_ = myRank % nColumns;
125  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines