[petsc-users] MatSetValuesStencil

Matthew Knepley knepley at gmail.com
Mon May 11 12:42:59 CDT 2015


On Mon, May 11, 2015 at 11:43 AM, anton <popov at uni-mainz.de> wrote:

> Hi,
>
> MatSetValuesStencil page doesn't contain the standard phrase anymore:
> "Negative indices may be passed in idxm and idxn, these rows and columns
> are simply ignored" . Instead it specifies the usage of negative indicies
> for setting periodic BC.
>
> Can I still use negative indices with MatSetValuesStencil in the usual way
> if I don't use DM_BOUNDARY_PERIODIC boundary type?
>

Yes.

  Thanks,

    Matt


> Thanks,
>
> Anton
>
>
>


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150511/6993c031/attachment.html>


More information about the petsc-users mailing list