[petsc-users] does it help if I reorder the Vector

Matthew Knepley knepley at gmail.com
Mon Jul 12 13:12:53 CDT 2010


Generally, yes.

   Matt

On Mon, Jul 12, 2010 at 6:50 PM, Xuan YU <xxy113 at psu.edu> wrote:

> Hi, all
>
> For a vector of 1800 variables, I have 1800 equations like
> y(i)'=y(y1,y2,...,yn,t), but RHSfunction only have 5 y(j), so if I put
> related y(i) next to each other, the RHSfunction will become more banded,
> and Jacobian Matrix will be more banded also, the time consumption will go
> down. Am I right?
>
> Thanks!
>
> Xuan YU
> xxy113 at psu.edu
>
>
>
>
>


-- 
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/20100712/3c70f1c3/attachment.htm>


More information about the petsc-users mailing list