ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/io/ZConsWriter.cpp
(Generate patch)

Comparing trunk/src/io/ZConsWriter.cpp (file contents):
Revision 507 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 963 by tim, Wed May 17 21:51:42 2006 UTC

# Line 110 | Line 110 | namespace oopse {
110  
111      MPI_Status ierr;
112      int zmolIndex;
113 <    double data[3];
113 >    RealType data[3];
114      
115      if (masterNode == 0) {
116  
# Line 130 | Line 130 | namespace oopse {
130          } else {
131            for(int k =0 ; k < nFixedZmolsInProc[i]; ++k) {
132              MPI_Recv(&zmolIndex, 1, MPI_INT, i, 0, MPI_COMM_WORLD,&ierr);
133 <            MPI_Recv(data, 3, MPI_DOUBLE, i, 0, MPI_COMM_WORLD,&ierr);
133 >            MPI_Recv(data, 3, MPI_REALTYPE, i, 0, MPI_COMM_WORLD,&ierr);
134              tmpData.zmolIndex = zmolIndex;
135              tmpData.zforce= data[0];
136              tmpData.zpos = data[1];
# Line 159 | Line 159 | namespace oopse {
159          data[1] = j->zpos;
160          data[2] = j->param.zTargetPos;
161          MPI_Send(&zmolIndex, 1, MPI_INT, masterNode, 0, MPI_COMM_WORLD);
162 <        MPI_Send(data, 3, MPI_DOUBLE, masterNode, 0, MPI_COMM_WORLD);
162 >        MPI_Send(data, 3, MPI_REALTYPE, masterNode, 0, MPI_COMM_WORLD);
163              
164        }
165      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines