petsc-3.14.6 2021-03-30
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/tutorials/ex1.c.html
src/vec/vec/tutorials/ex3.c.html
src/vec/vec/tutorials/ex10.c.html
src/vec/vec/tutorials/ex19.c.html
src/vec/vec/tutorials/ex21.c.html
src/vec/is/is/tutorials/ex3.c.html
src/vec/is/sf/tutorials/ex1.c.html
src/mat/tutorials/ex8.c.html
src/mat/tutorials/ex10.c.html
src/dm/impls/plex/tutorials/ex2.c.html
src/dm/impls/plex/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