MatRetrieveValues

Retrieves the copy of the matrix values; this allows, for example, reuse of the linear part of a Jacobian, while recomputing the nonlinear portion.

Synopsis

#include "petscmat.h" 
PetscErrorCode  MatRetrieveValues(Mat mat)
Collect on Mat

Input Parameters

mat - the matrix (currently only AIJ matrices support this option)

Level: advanced

See Also

MatStoreValues()

Location:aij.c