Vec#
Abstract PETSc vector object. Used for holding solutions and right-hand sides for (non) linear systems and integrators
Synopsis#
typedef struct _p_Vec *Vec;
Note#
Internally the actual vector representation is generally a simple array but most PETSc code can work on other representations through this abstraction
See Also#
Summary of Vector Types Available In PETSc, Vectors and Parallel Data, VecCreate()
, VecType
, VecSetType()
Level#
beginner
Location#
Examples#
src/dm/impls/plex/tutorials/ex8.c
src/dm/impls/plex/tutorials/ex7.c
src/dm/impls/plex/tutorials/ex11.c
src/dm/impls/plex/tutorials/ex14.c
src/dm/dt/dualspace/impls/lagrange/tutorials/ex2.c
src/dm/impls/plex/tutorials/ex1.c
src/dm/impls/plex/tutorials/ex6.c
src/dm/impls/plex/tutorials/ex9.c
src/dm/field/tutorials/ex1.c
src/dm/impls/stag/tutorials/ex1.c
Implementations#
_p_Vec in include/petsc/private/vecimpl.h
Vec_MOAB in include/petsc/private/dmmbimpl.h
Vec_Chain in src/tao/unconstrained/impls/bmrm/bmrm.h
Vec_Seq in src/vec/vec/impls/dvecimpl.h
Vec_MPI in src/vec/vec/impls/mpi/pvecimpl.h
Vec_Nest in src/vec/vec/impls/nest/vecnestimpl.h
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages