DMDestroyVI#

Frees the DM_SNESVI object contained in the DM and resets any function pointers the reduced-space SNESVI code composed onto it

Synopsis#

#include "petscsnes.h" 
PetscErrorCode DMDestroyVI(DM dm)

Not Collective

Input Parameter#

  • dm - the DM from which the VI context should be removed (may be NULL)

See Also#

DM, SNESVINEWTONRSLS, SNESVISetVariableBounds(), PetscObjectCompose()

Level#

developer

Location#

src/snes/impls/vi/rs/virs.c


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