:orphan: # SNESNASMSetComputeFinalJacobian Schedules the computation of the global and subdomain Jacobians upon convergence for the nonlinear additive Schwarz solver ## Synopsis ``` #include "petscsnes.h" PetscErrorCode SNESNASMSetComputeFinalJacobian(SNES snes, PetscBool flg) ``` Collective ## Input Parameters - ***snes -*** the SNES context - ***flg -*** `PETSC_TRUE` to compute the Jacobians ## Notes This is used almost exclusively in the implementation of `SNESASPIN`, where the converged subdomain and global Jacobian is needed at each linear iteration. ## See Also `SNESNASM`, `SNESNASMGetSubdomains()` ## Level developer ## Location src/snes/impls/nasm/nasm.c ## Implementations SNESNASMSetComputeFinalJacobian_NASM in src/snes/impls/nasm/nasm.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/impls/nasm/nasm.c) [Index of all SNES routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)