On Mon, Nov 22, 2010 at 16:18, John Peterson <peterson@cfdlab.ae.utexas.edu> wrote:
> Petsc provides a MatCopy

Make that MatDuplicate

Both exist.  MatDuplicate creates a new object and optionally copies values as well.  MatCopy copies values into an existing matrix.

Jed