leave my rows alone

Satish Balay balay at mcs.anl.gov
Wed Aug 16 15:14:53 CDT 2006


On Wed, 16 Aug 2006, Thomas Geenen wrote:

> in matcreate i tell petsc that cpu0 owns 10 rows 

yes

> in matsetvalue i tell him which rows (maybe 1,9,23,46 etc) but petsc
> automatically assumes that cpu0 owns the first 10 rows matsetsizes
> also just tells petsc the number of rows. 0-9 for cpu0

MatSetValues() provides no such functionality [of specifying rows
owned by local proc] . You are misinterpreting arguments to
MatSetValues().

In this new model [which PETSc doesn't provide] - what hapens if you
call MatSetValues(row=0) on both proc 0 & proc1?  Does this row get
owned by both procesors?

And from what numbering scheme do you get these numbers 1,9,23,46 etc?

Satish

> 
> so if i want to keep row 23 on cpu0 i have to do some sort of renumbering 
> making row23 <10




More information about the petsc-users mailing list