petsc-master 2020-01-15
Report Typos and Errors

DMViewFromOptions

View from Options

Synopsis

#include "petscdm.h"          
#include "petscdmlabel.h"     
#include "petscds.h"     
PetscErrorCode  DMViewFromOptions(DM dm,PetscObject obj,const char name[])
Collective on DM

Input Parameters

dm - the DM object
obj - Optional object
name - command line option

See Also

DM, DMView, PetscObjectViewFromOptions(), DMCreate()

Level

intermediate

Location

src/dm/interface/dm.c

Examples

src/dm/impls/plex/examples/tutorials/ex2.c.html
src/dm/impls/plex/examples/tutorials/ex5.c.html
src/dm/impls/forest/examples/tutorials/ex1.c.html
src/dm/field/examples/tutorials/ex1.c.html
src/snes/examples/tutorials/ex12.c.html
src/snes/examples/tutorials/ex56.c.html
src/snes/examples/tutorials/ex62.c.html
src/snes/examples/tutorials/ex77.c.html
src/ts/examples/tutorials/ex11.c.html
src/ts/examples/tutorials/ex48.c.html

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