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/tutorials/ex51.c
src/dm/tutorials/ex2.c
src/dm/tutorials/swarm_ex3.c
src/dm/tutorials/ex5.c
src/dm/tutorials/ex6.c
src/dm/tutorials/ex12.c
src/dm/tutorials/swarm_ex1.c
src/dm/tutorials/ex9.c
src/dm/tutorials/ex15.c
src/dm/tutorials/ex7.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