/[escript]/trunk/dudley/src/ElementFile.c
ViewVC logotype

Diff of /trunk/dudley/src/ElementFile.c

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

revision 3489 by jfenwick, Mon Oct 11 01:48:14 2010 UTC revision 3490 by caltinay, Wed Mar 30 02:24:33 2011 UTC
# Line 86  void Dudley_ElementFile_free(Dudley_Elem Line 86  void Dudley_ElementFile_free(Dudley_Elem
86    
87  void Dudley_ElementFile_setElementDistribution(Dudley_ElementFile * in, dim_t * distribution)  void Dudley_ElementFile_setElementDistribution(Dudley_ElementFile * in, dim_t * distribution)
88  {  {
89      dim_t local_num_elements, e, num_elements = 0, size;      dim_t local_num_elements, e, num_elements = 0;
90      Esys_MPI_rank myRank;      Esys_MPI_rank myRank;
91      if (in == NULL)      if (in == NULL)
92      {      {
# Line 98  void Dudley_ElementFile_setElementDistri Line 98  void Dudley_ElementFile_setElementDistri
98      {      {
99          num_elements = 0;          num_elements = 0;
100          myRank = in->MPIInfo->rank;          myRank = in->MPIInfo->rank;
         size = in->MPIInfo->size;  
101  #pragma omp parallel private(local_num_elements)  #pragma omp parallel private(local_num_elements)
102          {          {
103          local_num_elements = 0;          local_num_elements = 0;

Legend:
Removed from v.3489  
changed lines
  Added in v.3490

  ViewVC Help
Powered by ViewVC 1.1.26