← Back to team overview

dolfin team mailing list archive

Re: extract matrix

 

Shawn Walker wrote:
> What?  This seems ridiculous.  I know there are routines to extract a
> block of values from a matrix.  But I need to have some kind of pointer
> to the matrix.  I don't know how to get this.

Where does your other matrix come from and how big is it?  Is it really
worth your time to write code to compare the values?  To use -mat_view
and variants, you don't need to touch any code.  If you really need the
Mat, there is PETScMatrix::mat().

Jed

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References