petsc-3.3-p7 2013-05-11

MatCreateDAAD

Creates a matrix that can do matrix-vector products using a local function that is differentiated with ADIFOR or ADIC.

Synopsis

#include "petscdmda.h"    
#include "petscsnes.h"  
PetscErrorCode  MatCreateDAAD(DM da,Mat *A)
Collective on DMDA

Input Parameters

da -the DMDA that defines the distribution of the vectors

Output Parameter

A -the matrix

Notes: this is currently turned off for Fortran

See Also

MatCreate(), DMDASetLocalAdicMFFunction()

Level:intermediate
Location:
src/mat/impls/adic/matadic.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages