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

Diff of /branches/doubleplusgood/dudley/src/Assemble_interpolate.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 124  void Dudley_Assemble_interpolate(Dudley_ Line 124  void Dudley_Assemble_interpolate(Dudley_
124      {      {
125          local_data = NULL;          local_data = NULL;
126          /* allocation of work arrays */          /* allocation of work arrays */
127          local_data = THREAD_MEMALLOC(NS_DOF * numComps, double);          local_data = new double[NS_DOF * numComps];
128          if (!Dudley_checkPtr(local_data))          if (!Dudley_checkPtr(local_data))
129          {          {
130          numComps_size = (size_t) numComps *sizeof(double);          numComps_size = (size_t) numComps *sizeof(double);
# Line 143  void Dudley_Assemble_interpolate(Dudley_ Line 143  void Dudley_Assemble_interpolate(Dudley_
143                           NS_DOF, local_data, /*basis->S */ shapeFns);                           NS_DOF, local_data, /*basis->S */ shapeFns);
144          }       /* end of element loop */          }       /* end of element loop */
145          }          }
146          THREAD_MEMFREE(local_data);          delete[] local_data;
147      }           /* end of parallel region */      }           /* end of parallel region */
148      }      }
149  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.26