DMSetFromOptions

sets parameters in a DM from the options database

Synopsis

#include "petscdm.h"     
PetscErrorCode  DMSetFromOptions(DM dm)
Collective on DM

Input Parameter

dm -the DM object to set options for

Options Database

-dm_preallocate_only: Only preallocate the matrix for DMGetMatrix(), but do not fill it with zeros -

See Also

DMView(), DMCreateGlobalVector(), DMGetInterpolation(), DMGetColoring(), DMGetMatrix()

Level:developer
Location:
src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex12.c.html
src/snes/examples/tutorials/ex28.c.html
src/snes/examples/tutorials/ex52.c.html