matrix building question

Barry Smith bsmith at mcs.anl.gov
Tue Dec 15 17:43:30 CST 2009


   No, there cannot be holes in the rows of matrix.

    Barry

On Dec 15, 2009, at 4:58 PM, Matt Funk wrote:

> Hi,
>
> i was wondering if it is mandetory that when i populate a parallel  
> matrix,
> that all rows owned by given processor are continously numbered?
>
> I.e. say that a given process owns 500 rows. Could i build the  
> matrix such
> that the first 250 rows have row numbers: 0-250 and the second 250  
> rows have
> row numbers, say: 750-1000?
>
> Or do they HAVE to be numbered continous, for example: 0-500 or  
> 250-750?
>
> I was under the impression that they had to be continously numbered  
> due to the
> example given on p.55 of the user manual. However, i might have simply
> misunderstood what it is saying.
> Also, reading the section on paritioning makes me think that it  
> might be
> possible to break the numbering up as mentioned above.
>
> I hope i am making sense ...
>
>
> thanks
> matt



More information about the petsc-users mailing list