usage of MatPreallocInitialize/MatPreallocFinalize

Matthew Knepley knepley at mcs.anl.gov
Mon Jan 30 06:01:43 CST 2006


"Yaron Kretchmer" <YKRETCHM at altera.com> writes:

> Hi All
> How does one use MatPreallocInitialize/MatPreallocFinalize? Any code
> examples? The documentation is a bit sketchy

  These are internal routines. You would use Mat<type>SetPreallocation(),
like MatSeqAIJSetPreallocation().

     Matt
-- 
"Failure has a thousand explanations. Success doesn't need one" -- Sir Alec Guiness




More information about the petsc-users mailing list