DMViewFromOptions#
View a DM
in a particular way based on a request in the options database
Synopsis#
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMViewFromOptions(DM dm, PeOp PetscObject obj, const char name[])
Collective
Input Parameters#
dm - the
DM
objectobj - optional object that provides the prefix for the options database (if
NULL
then the prefix inobj
is used)name - option string that is used to activate viewing
Note#
See PetscObjectViewFromOptions()
for a list of values that can be provided in the options database to determine how the DM
is viewed
See Also#
DM Basics, DM
, DMView()
, PetscObjectViewFromOptions()
, DMCreate()
Level#
intermediate
Location#
Examples#
src/snes/tutorials/ex36.c
src/snes/tutorials/ex20.c
src/snes/tutorials/ex11.c
src/snes/tutorials/ex7.c
src/snes/tutorials/ex13.c
src/snes/tutorials/ex77.c
src/snes/tutorials/ex63.c
src/snes/tutorials/ex17.c
src/snes/tutorials/ex23.c
src/snes/tutorials/ex69.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages