# 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
sfpack.c
sfbasic.c
sfbasic.h
sfmpi.c
sfpack.h
Directories
cupm
alltoall
gather
allgatherv
allgather
nvshmem
kokkos
neighbor
gatherv