Memory preallocation in python

Matthew Knepley knepley at gmail.com
Mon Aug 21 04:43:42 CDT 2006


Sorry,

  1) It would have to be for a subclass like MatSeqAIJ

  2) It is setPreallocation()

  Thanks,

     Matt

On 8/21/06, Marek Wojciechowski <mwojc at p.lodz.pl> wrote:
>
>
> On Mon, 21 Aug 2006 09:16:08 -0000, Matthew Knepley <knepley at gmail.com>
> wrote:
>
> > It should be a wrapper for Mat***Preallocation(). Do these exist?
> >
> >    Matt
> >
>
> I didn't find a method Mat.Preallocation() nor anything similar for Mat...
> Maybe I should search in another place?
>
>
>
> --
> Marek Wojciechowski
>
>


-- 
"Failure has a thousand explanations. Success doesn't need one" -- Sir Alec
Guiness
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20060821/4e7f00d9/attachment.htm>


More information about the petsc-users mailing list