petsc-master 2015-10-08
Report Typos and Errors


set a local implicit function evaluation function. This function is called with local vector containing the local vector information PLUS ghost point information. It should compute a result for all local elements and DMTS will automatically accumulate the overlapping values.


#include "petscts.h" 
PetscErrorCode DMTSSetIFunctionLocal(DM dm, PetscErrorCode (*func)(DM, PetscReal, Vec, Vec, Vec, void *), void *ctx)
Logically Collective

Input Arguments

dm - DM to associate callback with
func - local function evaluation
ctx - context for function evaluation

See Also

DMTSSetIFunction(), DMTSSetIJacobianLocal()

Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages