[petsc-users] MatDenseGetArray question

Matthew Knepley knepley at gmail.com
Wed Apr 17 12:37:15 CDT 2013


On Wed, Apr 17, 2013 at 1:23 PM, Michael Povolotskyi <mpovolot at purdue.edu>wrote:

> Dear Petsc developers,
> does the function MatDenseGetArray allocate additional memory or just
> returns a pointer to existing memory ?
>

Returns a pointer.

  Matt


> Thank you,
> Michael.
>
> --
> Michael Povolotskyi, PhD
> Research Assistant Professor
> Network for Computational Nanotechnology
> 207 S Martin Jischke Drive
> Purdue University, DLR, room 441-10
> West Lafayette, Indiana 47907
>
> phone: +1-765-494-9396
> fax: +1-765-496-6026
>
>


-- 
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/20130417/32e14274/attachment.html>


More information about the petsc-users mailing list