/[escript]/trunk/trilinoswrap/src/CrsMatrixWrapper.cpp
ViewVC logotype

Diff of /trunk/trilinoswrap/src/CrsMatrixWrapper.cpp

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

revision 6407 by caltinay, Mon Aug 1 22:25:27 2016 UTC revision 6408 by gross, Thu Oct 27 03:29:59 2016 UTC
# Line 242  void CrsMatrixWrapper<ST>::nullifyRowsAn Line 242  void CrsMatrixWrapper<ST>::nullifyRowsAn
242          for (size_t c = 0; c < indices.size(); c++) {          for (size_t c = 0; c < indices.size(); c++) {
243              const LO lclcol = indices[c];              const LO lclcol = indices[c];
244              const GO col = mat.getColMap()->getGlobalElement(lclcol);              const GO col = mat.getColMap()->getGlobalElement(lclcol);
245              if (rowMask[lclrow] != 0. || colMask[lclcol] != 0.) {              if (rowMask[lclrow] > 0. || colMask[lclcol] > 0.) {
246                  cols.push_back(lclcol);                  cols.push_back(lclcol);
247                  vals.push_back(row==col ? mdv : zero);                  vals.push_back(row==col ? mdv : zero);
248              }              }

Legend:
Removed from v.6407  
changed lines
  Added in v.6408

  ViewVC Help
Powered by ViewVC 1.1.26