[petsc-users] Options to set when solving Ax=b if matrix A changes its non-zero position at each solve

Jed Brown jedbrown at mcs.anl.gov
Sun Jun 10 11:10:24 CDT 2012


On Sun, Jun 10, 2012 at 11:09 AM, TAY wee-beng <zonexo at gmail.com> wrote:

> I realise that for my problem, instead of the original 5 non-zero
> locations (east, west, north, south, center) for the stencil, I now have 4
> more (east-east, west-west etc). So now I call MATCREATEAIJ with dnz + o_nz
> = 9 (instead of previously 5). Is that correct?


yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120610/babe9df4/attachment.html>


More information about the petsc-users mailing list