MatSetValues(..,ADD_VALUES);

You might want to check the man page for MatSetValues(). Or
are you looking for some other functionality?

Satish

On Mon, 10 Jul 2006, Christopher Harden wrote:

> Hello All,
> 
> I'm new to PETSc and I'm trying to use a linear solver from the KSP package in
> a finite element code. Does anyone have a slick way of appending values to
> already existing values in a matrix using MatSetValues or is there some better
> routine to call for this purpose?
> 
> Thank you,
> 
> Chris Harden
> 
> 


Reply via email to