Skip to main content
Ctrl+K
PETSc v3.26.0-293-gfb7a8f337c26 documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • VecState

VecState#

Snapshot of the state of a Vec

Synopsis#

typedef struct {
  PetscObjectId    id;
  PetscObjectState state;
} VecState;

Note#

A VecState records the object id and state of a Vec.

See Also#

Vectors and Parallel Data, Vec, VecGetState(), VecStateCompare(), VecStateCompareUpdate(), VecStateInvalidate(), PetscObjectGetId(), PetscObjectStateGet()

Level#

developer

Location#

include/petscvec.h

Examples#

src/vec/vec/tests/ex34.c


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

On this page
  • Synopsis
  • Note
  • See Also
  • Level
  • Location
  • Examples
Edit on GitLab
Show Source

© Copyright 1991-2026, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2026-10-31T03:41:22-0500 (v3.26.0-293-gfb7a8f337c26).