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
objectsnes - The solver
Note#
The solver MUST have an attached DM
/PetscDS
, so that we know the exact solution
See Also#
DMAdaptor
, DMAdaptorGetSolver()
, DMAdaptorCreate()
, DMAdaptorAdapt()
Level#
intermediate
Location#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages