/[escript]/trunk/finley/src/Mesh_prepareElementDistribution.c
ViewVC logotype

Diff of /trunk/finley/src/Mesh_prepareElementDistribution.c

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

revision 787 by bcumming, Wed Jul 26 01:46:45 2006 UTC revision 1028 by gross, Wed Mar 14 00:15:24 2007 UTC
# Line 1  Line 1 
 #ifdef PASO_MPI  
1  #include "Mesh.h"  #include "Mesh.h"
2    
3  /*  /*
# Line 7  Line 6 
6      */      */
7    
8  void Finley_Mesh_prepareElementDistribution( Finley_Mesh *in ){  void Finley_Mesh_prepareElementDistribution( Finley_Mesh *in ){
9    #ifdef PASO_MPI
10      int i;      int i;
11            
12      if(!Finley_checkPtr(in) || !Finley_checkPtr(in->MPIInfo) ){      if(!Finley_checkPtr(in) || !Finley_checkPtr(in->MPIInfo) ){
# Line 28  void Finley_Mesh_prepareElementDistribut Line 28  void Finley_Mesh_prepareElementDistribut
28          in->Points->elementDistribution->vtxdist[i]+=in->ContactElements->elementDistribution->vtxdist[in->MPIInfo->size];          in->Points->elementDistribution->vtxdist[i]+=in->ContactElements->elementDistribution->vtxdist[in->MPIInfo->size];
29      for( i=0; i<in->Points->numElements; i++ )      for( i=0; i<in->Points->numElements; i++ )
30          in->Points->Id[i] += in->ContactElements->elementDistribution->vtxdist[in->MPIInfo->size];          in->Points->Id[i] += in->ContactElements->elementDistribution->vtxdist[in->MPIInfo->size];
 }  
31  #endif  #endif
32    }

Legend:
Removed from v.787  
changed lines
  Added in v.1028

  ViewVC Help
Powered by ViewVC 1.1.26