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

Diff of /trunk/finley/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 85  void Finley_ElementFile_free(Finley_Elem Line 85  void Finley_ElementFile_free(Finley_Elem
85    }    }
86  }  }
87  void Finley_ElementFile_setElementDistribution(Finley_ElementFile* in, dim_t* distribution) {  void Finley_ElementFile_setElementDistribution(Finley_ElementFile* in, dim_t* distribution) {
88    dim_t local_num_elements,e,num_elements=0, size;    dim_t local_num_elements,e,num_elements=0;
89    Esys_MPI_rank myRank;    Esys_MPI_rank myRank;
90    if (in == NULL) {    if (in == NULL) {
91        distribution[0]=num_elements;        distribution[0]=num_elements;
# Line 93  void Finley_ElementFile_setElementDistri Line 93  void Finley_ElementFile_setElementDistri
93        if (in->MPIInfo->size>1) {        if (in->MPIInfo->size>1) {
94           num_elements=0;           num_elements=0;
95           myRank=in->MPIInfo->rank;           myRank=in->MPIInfo->rank;
          size=in->MPIInfo->size;  
96           #pragma omp parallel private(local_num_elements)           #pragma omp parallel private(local_num_elements)
97           {           {
98              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