[petsc-users] PCGAMG

Jed Brown jedbrown at mcs.anl.gov
Wed Mar 27 18:38:17 CDT 2013


On Wed, Mar 27, 2013 at 6:30 PM, Mohamad M. Nasr-Azadani
<mmnasr at gmail.com>wrote:

> Sorry, the codes attached were not the most recent versions.
> Here is the code you can reproduce the error with.
>

    ierr = DMCreateMatrix(DA2d,  MATMPIAIJ, &LHS_mat); CHKERRQ(ierr);

Just pass MATAIJ or NULL here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130327/d8946f62/attachment.html>


More information about the petsc-users mailing list