/[escript]/trunk/dudley/src/Mesh_getPattern.cpp
ViewVC logotype

Diff of /trunk/dudley/src/Mesh_getPattern.cpp

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

revision 4802 by caltinay, Wed Mar 26 03:26:58 2014 UTC revision 4803 by caltinay, Wed Mar 26 06:52:28 2014 UTC
# Line 89  paso::SystemMatrixPattern *Dudley_getPat Line 89  paso::SystemMatrixPattern *Dudley_getPat
89  paso::SystemMatrixPattern *Dudley_makePattern(Dudley_Mesh * mesh, bool reduce_row_order, bool reduce_col_order)  paso::SystemMatrixPattern *Dudley_makePattern(Dudley_Mesh * mesh, bool reduce_row_order, bool reduce_col_order)
90  {  {
91      paso::SystemMatrixPattern *out = NULL;      paso::SystemMatrixPattern *out = NULL;
92      Paso_Pattern *main_pattern = NULL, *col_couple_pattern = NULL, *row_couple_pattern = NULL;      paso::Pattern *main_pattern = NULL, *col_couple_pattern = NULL, *row_couple_pattern = NULL;
93      paso::Connector *col_connector, *row_connector;      paso::Connector *col_connector, *row_connector;
94      Dudley_IndexList *index_list = NULL;      Dudley_IndexList *index_list = NULL;
95      Dudley_NodeMapping *colMap = NULL, *rowMap = NULL;      Dudley_NodeMapping *colMap = NULL, *rowMap = NULL;
# Line 175  paso::SystemMatrixPattern *Dudley_makePa Line 175  paso::SystemMatrixPattern *Dudley_makePa
175          Dudley_IndexList_free(index_list[i].extension);          Dudley_IndexList_free(index_list[i].extension);
176      }      }
177      delete[] 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);
181      }      }
182      Esys_MPIInfo_noError(mesh->MPIInfo);      Esys_MPIInfo_noError(mesh->MPIInfo);
183      return out;      return out;

Legend:
Removed from v.4802  
changed lines
  Added in v.4803

  ViewVC Help
Powered by ViewVC 1.1.26