/[escript]/trunk/paso/src/SystemMatrix.h
ViewVC logotype

Diff of /trunk/paso/src/SystemMatrix.h

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

revision 6199 by caltinay, Fri Apr 29 14:02:32 2016 UTC revision 6200 by caltinay, Wed May 4 23:57:49 2016 UTC
# Line 68  public: Line 68  public:
68      virtual inline void saveMM(const std::string& filename) const      virtual inline void saveMM(const std::string& filename) const
69      {      {
70          if (mpi_info->size > 1) {          if (mpi_info->size > 1) {
71              throw PasoException("SystemMatrix::saveMM: Only single rank supported.");              //throw PasoException("SystemMatrix::saveMM: Only single rank supported.");
72                SparseMatrix_ptr merged(mergeSystemMatrix());
73                if (mpi_info->rank == 0)
74                    merged->saveMM(filename.c_str());
75          } else {          } else {
76              mainBlock->saveMM(filename.c_str());              mainBlock->saveMM(filename.c_str());
77          }          }

Legend:
Removed from v.6199  
changed lines
  Added in v.6200

  ViewVC Help
Powered by ViewVC 1.1.26