/[escript]/branches/arrayview_from_1695_trunk/escript/src/Data.cpp
ViewVC logotype

Diff of /branches/arrayview_from_1695_trunk/escript/src/Data.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1774 by jfenwick, Fri Sep 5 06:26:29 2008 UTC revision 1775 by jfenwick, Tue Sep 9 04:58:09 2008 UTC
# Line 1548  Data::calc_minGlobalDataPoint(int& ProcN Line 1548  Data::calc_minGlobalDataPoint(int& ProcN
1548    
1549  #ifdef PASO_MPI  #ifdef PASO_MPI
1550      // determine the processor on which the minimum occurs      // determine the processor on which the minimum occurs
1551      next = temp.getDataPoint(lowi,lowj)();      next = temp.getDataPoint(lowi,lowj);
1552      int lowProc = 0;      int lowProc = 0;
1553      double *globalMins = new double[get_MPISize()+1];      double *globalMins = new double[get_MPISize()+1];
1554      int error = MPI_Gather ( &next, 1, MPI_DOUBLE, globalMins, 1, MPI_DOUBLE, 0, get_MPIComm() );      int error = MPI_Gather ( &next, 1, MPI_DOUBLE, globalMins, 1, MPI_DOUBLE, 0, get_MPIComm() );

Legend:
Removed from v.1774  
changed lines
  Added in v.1775

  ViewVC Help
Powered by ViewVC 1.1.26