/[escript]/branches/doubleplusgood/finley/src/Assemble_getSize.cpp
ViewVC logotype

Diff of /branches/doubleplusgood/finley/src/Assemble_getSize.cpp

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

revision 4326 by jfenwick, Wed Feb 27 06:09:33 2013 UTC revision 4327 by jfenwick, Wed Mar 20 05:09:11 2013 UTC
# Line 76  void Finley_Assemble_getSize(Finley_Node Line 76  void Finley_Assemble_getSize(Finley_Node
76          #pragma omp parallel private(local_X)          #pragma omp parallel private(local_X)
77          {          {
78              /* allocation of work arrays */              /* allocation of work arrays */
79              local_X=THREAD_MEMALLOC(NN*numDim,double);              local_X=new double[NN*numDim];
80              if (! Finley_checkPtr(local_X) ) {              if (! Finley_checkPtr(local_X) ) {
81                  /* open the element loop */                  /* open the element loop */
82                  #pragma omp for private(e,max_diff,diff,n0,n1,d,q,i,element_size_array) schedule(static)                  #pragma omp for private(e,max_diff,diff,n0,n1,d,q,i,element_size_array) schedule(static)
# Line 101  void Finley_Assemble_getSize(Finley_Node Line 101  void Finley_Assemble_getSize(Finley_Node
101                      for (q=0;q<numQuad;q++) element_size_array[q]=max_diff;                      for (q=0;q<numQuad;q++) element_size_array[q]=max_diff;
102                  }                  }
103              }              }
104              THREAD_MEMFREE(local_X);              delete [] local_X;
105         } /* end of parallel region */         } /* end of parallel region */
106    }    }
107    return;    return;

Legend:
Removed from v.4326  
changed lines
  Added in v.4327

  ViewVC Help
Powered by ViewVC 1.1.26