DMMGGetSNESLocal

Returns the local functions for residual and Jacobian evaluation.

Synopsis

#include "petscda.h"    
#include "petscmg.h"    
#include "petscdmmg.h"  
#include "petscmat.h" 
PetscErrorCode DMMGGetSNESLocal(DMMG *dmmg,DALocalFunction1 *function, DALocalFunction1 *jacobian)
Collective on DMMG

Input Parameter

dmmg -the context

Output Parameters

function - the function that defines the nonlinear system
jacobian - function defines the local part of the Jacobian

See Also

DMMGCreate(), DMMGDestroy, DMMGSetKSP(), DMMGSetSNES(), DMMGSetSNESLocal()

Level:intermediate
Location:
src/snes/utils/damgsnes.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages