petsc-3.7.1 2016-05-15
Report Typos and Errors

MatSetValuesAdifor

Sets values computed with automatic differentiation into a matrix.

Synopsis

#include "petscmat.h" 
PetscErrorCode MatSetValuesAdifor(Mat mat,PetscInt nl,void *v)
Not Collective Many br

Input Parameters

mat - the matrix Many br
nl - leading dimension of v Many br
v - the values compute with ADIFOR Many br

Many br

Notes

Must call MatSetColoring() before using this routine. Also this matrix must already Many brhave its nonzero pattern determined. Many br

See Also

MatSetOption(), MatAssemblyBegin(), MatAssemblyEnd(), MatSetValuesBlocked(), MatSetValuesLocal(),
MatSetValues(), MatSetColoring() Many br

Level:developer
Location:
src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages