petsc-3.12.4 2020-02-04
Report Typos and Errors

# PetscObject

any PETSc object, PetscViewer, Mat, Vec, KSP etc

### Synopsis

    typedef struct _p_PetscObject* PetscObject;

### Note

This is the base class from which all PETSc objects are derived from.

### See Also

PetscObjectDestroy(), PetscObjectView(), PetscObjectGetName(), PetscObjectSetName(), PetscObjectReference(), PetscObjectDereference()

### Level

beginner

### Location

include/petscsystypes.h

### Examples

src/vec/vec/utils/tagger/examples/tutorials/ex1.c.html
src/vec/vec/examples/tutorials/ex3.c.html
src/vec/vec/examples/tutorials/ex10.c.html
src/vec/vec/examples/tutorials/ex19.c.html
src/vec/vec/examples/tutorials/ex21.c.html
src/vec/is/is/examples/tutorials/ex3.c.html
src/vec/is/sf/examples/tutorials/ex1.c.html
src/mat/examples/tutorials/ex8.c.html
src/mat/examples/tutorials/ex10.c.html
src/dm/impls/plex/examples/tutorials/ex2.c.html
src/dm/impls/plex/examples/tutorials/ex5.c.html

### Implementations

_p_PetscObject in include/petsc/private/petscimpl.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages