Re: [deal.II] Re: Iterating over all the entries in a PETScWrapper::MPI::SparseMatrix in parallel

2018-03-18 Thread Feimi Yu
Please ignore my last post. I made a mistake there. Attached is the revised version to better illustrate the problem. Thanks, Feimi On Saturday, March 10, 2018 at 4:48:23 AM UTC-5, Wolfgang Bangerth wrote: > > On 03/08/2018 02:55 PM, Feimi Yu wrote: > > > > The problem is that I still

Re: [deal.II] Re: Iterating over all the entries in a PETScWrapper::MPI::SparseMatrix in parallel

2018-03-18 Thread Feimi Yu
I'm sorry for the late reply. Here is my small testcase: I just add one line to call the end iterator of the last local row in the built-in test case *reinit_preconditioner_01.cc*under tests/petsc folder: auto itr = mat.end(mat.local_range().second); It produces the same error as I mentioned