/[escript]/trunk/pasowrap/src/SystemMatrixAdapter.cpp
ViewVC logotype

Diff of /trunk/pasowrap/src/SystemMatrixAdapter.cpp

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

revision 3680 by jfenwick, Thu Nov 17 03:52:25 2011 UTC revision 3681 by caltinay, Fri Nov 18 04:54:15 2011 UTC
# Line 179  int SystemMatrixAdapter::mapOptionToPaso Line 179  int SystemMatrixAdapter::mapOptionToPaso
179      }      }
180  }  }
181    
182  void paso::SystemMatrixAdapter::Print_Matrix_Info(const bool full=false) const  int SystemMatrixAdapter::getSystemMatrixTypeId(const int solver, const int preconditioner,
183            const int package, const bool symmetry, Esys_MPIInfo* mpiInfo)
184    {
185        int out=Paso_SystemMatrix_getSystemMatrixTypeId(mapOptionToPaso(solver),
186                mapOptionToPaso(preconditioner), mapOptionToPaso(package),
187                symmetry?1:0, mpiInfo);
188        checkPasoError();
189        return out;
190    }
191    
192    void SystemMatrixAdapter::Print_Matrix_Info(const bool full=false) const
193  {  {
194     Paso_SystemMatrix* mat=m_system_matrix.get();     Paso_SystemMatrix* mat=m_system_matrix.get();
195     int first_row_index  = mat->row_distribution->first_component[mat->mpi_info->rank];     int first_row_index  = mat->row_distribution->first_component[mat->mpi_info->rank];

Legend:
Removed from v.3680  
changed lines
  Added in v.3681

  ViewVC Help
Powered by ViewVC 1.1.26