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

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

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

revision 4285 by jfenwick, Tue Jan 22 09:30:23 2013 UTC revision 4286 by caltinay, Thu Mar 7 04:28:11 2013 UTC
# Line 136  Paso_SystemMatrixPattern *Dudley_makePat Line 136  Paso_SystemMatrixPattern *Dudley_makePat
136          index_list[i].extension = NULL;          index_list[i].extension = NULL;
137          index_list[i].n = 0;          index_list[i].n = 0;
138          }          }
139          /*  insert contributions from element matrices into colums index index_list: */          /*  insert contributions from element matrices into columns index index_list: */
140          Dudley_IndexList_insertElements(index_list, mesh->Elements,          Dudley_IndexList_insertElements(index_list, mesh->Elements,
141                          reduce_row_order, rowMap->target, reduce_col_order, colMap->target);                          reduce_row_order, rowMap->target, reduce_col_order, colMap->target);
142          Dudley_IndexList_insertElements(index_list, mesh->FaceElements,          Dudley_IndexList_insertElements(index_list, mesh->FaceElements,
# Line 158  Paso_SystemMatrixPattern *Dudley_makePat Line 158  Paso_SystemMatrixPattern *Dudley_makePat
158          Dudley_IndexList_createPattern(Paso_Distribution_getMyNumComponents(rowDistribution), rowMap->numTargets,          Dudley_IndexList_createPattern(Paso_Distribution_getMyNumComponents(rowDistribution), rowMap->numTargets,
159                         index_list, 0, Paso_Distribution_getMyNumComponents(colDistribution), 0);                         index_list, 0, Paso_Distribution_getMyNumComponents(colDistribution), 0);
160    
161      /* if everthing is in order we can create the return value */      /* if everything is in order we can create the return value */
162      if (Dudley_noError())      if (Dudley_noError())
163      {      {
164          out = Paso_SystemMatrixPattern_alloc(MATRIX_FORMAT_DEFAULT,          out = Paso_SystemMatrixPattern_alloc(MATRIX_FORMAT_DEFAULT,

Legend:
Removed from v.4285  
changed lines
  Added in v.4286

  ViewVC Help
Powered by ViewVC 1.1.26