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

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

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

revision 4331 by jfenwick, Wed Feb 27 06:09:33 2013 UTC revision 4332 by jfenwick, Thu Mar 21 04:21:14 2013 UTC
# Line 82  void Dudley_Assemble_getSize(Dudley_Node Line 82  void Dudley_Assemble_getSize(Dudley_Node
82  #pragma omp parallel private(local_X)  #pragma omp parallel private(local_X)
83      {      {
84          /* allocation of work arrays */          /* allocation of work arrays */
85          local_X = THREAD_MEMALLOC(NN * numDim, double);          local_X = new double[NN * numDim];
86          if (!Dudley_checkPtr(local_X))          if (!Dudley_checkPtr(local_X))
87          {          {
88          /* open the element loop */          /* open the element loop */
# Line 116  void Dudley_Assemble_getSize(Dudley_Node Line 116  void Dudley_Assemble_getSize(Dudley_Node
116              element_size_array[q] = max_diff;              element_size_array[q] = max_diff;
117          }          }
118          }          }
119          THREAD_MEMFREE(local_X);          delete[] local_X;
120      }           /* end of parallel region */      }           /* end of parallel region */
121      }      }
122      return;      return;

Legend:
Removed from v.4331  
changed lines
  Added in v.4332

  ViewVC Help
Powered by ViewVC 1.1.26