← Back to team overview

dolfin team mailing list archive

Re: extract matrix

 

The other `matrix' is basically an array of doubles.

- Shawn

On Mon, 22 Jun 2009, Jed Brown wrote:

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




Follow ups

References