# Vector Operations (Vec)
PETSc vectors (`Vec`) are used to store the field variables
in PDE-based (or other) simulations. Users guide chapter: [](ch_vectors)
Examples
Source files
sfbasic.c
sfbasic.h
sfmpi.c
sfpack.c
sfpack.h
Directories
allgather
allgatherv
alltoall
cupm
gather
gatherv
kokkos
neighbor
nvshmem