Got it. Thank you! On Thu, Jan 3, 2019 at 11:46 AM Matthew Knepley <knep...@gmail.com> wrote:
> On Thu, Jan 3, 2019 at 12:24 PM Sajid Ali via petsc-users < > petsc-users@mcs.anl.gov> wrote: > >> Hi, >> >> Is there any simple way of setting minor diagonals. The main diagonal can >> be set by MatDiagonalSet but there's no equivalent way of doing it for for >> minor diagonals. Does the preferred way to do this involve using >> MatSetValues or there a simpler way? >> > > No, we do not have an interface for this. You really only see this > structure in 1D problems, so we have > not spent time on it. > > Thanks. > > Matt > > >> Thank You, >> Sajid Ali >> Applied Physics >> Northwestern University >> > > > -- > 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.cse.buffalo.edu/~knepley/> > -- Sajid Ali Applied Physics Northwestern University