petsc-3.10.5 2019-03-28
DMAdaptorSetSolver
Sets the solver used to produce discrete solutions
Synopsis
#include "petscdmadaptor.h"
PetscErrorCode DMAdaptorSetSolver(DMAdaptor adaptor, SNES snes)
Not collective
Input Parameters
| adaptor | - The DMAdaptor object
|
| snes | - The solver
|
Note: The solver MUST have an attached DM/DS, so that we know the exact solution
Keywords
DMAdaptor, convergence
See Also
DMAdaptorGetSolver(), DMAdaptorCreate(), DMAdaptorAdapt()
Level
intermediate
Location
src/snes/utils/dmadapt.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages