On Wed, Apr 18, 2018 at 8:01 AM, Sonia Pozzi <sonia.po...@usi.ch> wrote:
> Dear Petsc users and developers, > > I have a MPIAIJ matrix (already assembled) and I would like to transform > it in a block matrix with of block dimension 3. > Is there a easy way to do that? > I believe that http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatConvert.html will work. Thanks, Matt > Thank you in advance, > > Sonia > > > Ph.D. Student > Group of Prof. Rolf Krause > Institute of Computational Science > Università della Svizzera italiana > Center for Computation Medicine in Cardiology > Via Giuseppe Buffi, 13 > <https://maps.google.com/?q=Via+Giuseppe+Buffi,+13+CH-6900+Lugano+Switzerland&entry=gmail&source=g> > CH-6900 Lugano > <https://maps.google.com/?q=Via+Giuseppe+Buffi,+13+CH-6900+Lugano+Switzerland&entry=gmail&source=g> > Switzerland > <https://maps.google.com/?q=Via+Giuseppe+Buffi,+13+CH-6900+Lugano+Switzerland&entry=gmail&source=g> > > Email: poz...@usi.ch > Phone: +41 58 666 4972 > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>