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

Diff of /branches/doubleplusgood/dudley/src/Mesh_getPattern.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  Paso_SystemMatrixPattern *Dudley_makePat Line 124  Paso_SystemMatrixPattern *Dudley_makePat
124      row_connector = mesh->Nodes->degreesOfFreedomConnector;      row_connector = mesh->Nodes->degreesOfFreedomConnector;
125      }      }
126    
127      index_list = TMPMEMALLOC(rowMap->numTargets, Dudley_IndexList);      index_list = new  Dudley_IndexList[rowMap->numTargets];
128      if (!Dudley_checkPtr(index_list))      if (!Dudley_checkPtr(index_list))
129      {      {
130    
# Line 174  Paso_SystemMatrixPattern *Dudley_makePat Line 174  Paso_SystemMatrixPattern *Dudley_makePat
174          for (i = 0; i < rowMap->numTargets; ++i)          for (i = 0; i < rowMap->numTargets; ++i)
175          Dudley_IndexList_free(index_list[i].extension);          Dudley_IndexList_free(index_list[i].extension);
176      }      }
177      TMPMEMFREE(index_list);      delete[] index_list;
178      Paso_Pattern_free(main_pattern);      Paso_Pattern_free(main_pattern);
179      Paso_Pattern_free(col_couple_pattern);      Paso_Pattern_free(col_couple_pattern);
180      Paso_Pattern_free(row_couple_pattern);      Paso_Pattern_free(row_couple_pattern);

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

  ViewVC Help
Powered by ViewVC 1.1.26