Got it. Thank you!
On Thu, Jan 3, 2019 at 11:46 AM Matthew Knepley 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
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?
Thank You,
Sajid Ali
Applied Physics