[petsc-users] ML and linear elasticity

Jed Brown jedbrown at mcs.anl.gov
Tue Apr 3 09:30:08 CDT 2012


On Tue, Apr 3, 2012 at 07:21, Mark F. Adams <mark.adams at columbia.edu> wrote:

> I've added the appended code to get the null space from the Mat.  I did
> not see:
>
>  ierr = MatNullSpaceDestroy(&matnull);CHKERRQ(ierr);
>
> in your ML code ... shouldn't that be here?
>

MatGetNearNullSpace() is a lightweight accessor, it doesn't increment the
reference count and you don't have to restore it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120403/98444c51/attachment-0001.htm>


More information about the petsc-users mailing list