/[escript]/trunk-mpi-branch/finley/src/NodeFile_setIdRange.c
ViewVC logotype

Diff of /trunk-mpi-branch/finley/src/NodeFile_setIdRange.c

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

revision 1271 by gross, Thu Aug 9 06:19:35 2007 UTC revision 1272 by gross, Fri Aug 24 00:40:43 2007 UTC
# Line 106  index_t Finley_NodeFile_maxGlobalReduced Line 106  index_t Finley_NodeFile_maxGlobalReduced
106    
107  index_t Finley_NodeFile_maxGlobalNodeIDIndex(Finley_NodeFile* in) {  index_t Finley_NodeFile_maxGlobalNodeIDIndex(Finley_NodeFile* in) {
108    index_t loc_out, out;    index_t loc_out, out;
109    loc_out=Finley_Util_getMaxInt(1,in->numNodes,in->globalDegreesOfFreedom);    loc_out=Finley_Util_getMaxInt(1,in->numNodes,in->globalNodesIndex);
110    #ifdef PASO_MPI    #ifdef PASO_MPI
111    MPI_Allreduce(&loc_out, &out, 1, MPI_INT, MPI_MAX, in->MPIInfo->comm );    MPI_Allreduce(&loc_out, &out, 1, MPI_INT, MPI_MAX, in->MPIInfo->comm );
112    #else    #else

Legend:
Removed from v.1271  
changed lines
  Added in v.1272

  ViewVC Help
Powered by ViewVC 1.1.26