# 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
benchmark_veccreate.c
ex1.c
ex10.c
ex100.cu
ex11.c
ex12.c
ex13.c
ex14.c
ex15.c
ex16.c
ex17.c
ex17f.F90
ex18.c
ex19f.F90
ex1k.kokkos.cxx
ex2.c
ex20f.F90
ex21.c
ex22.c
ex23.c
ex24.c
ex25.c
ex26f.F90
ex27.c
ex28.c
ex29.c
ex3.c
ex30f.F90
ex31.c
ex33.c
ex34.c
ex35.c
ex36.c
ex37.c
ex38.c
ex39.c
ex4.c
ex40.c
ex40f90.F90
ex41.c
ex42.c
ex43.c
ex44.c
ex45.c
ex46.c
ex47.c
ex48.c
ex49.c
ex5.c
ex50.c
ex51.c
ex52.c
ex53.c
ex54.c
ex55.c
ex56.c
ex57.cxx
ex58.c
ex59.cxx
ex6.c
ex60.c
ex61.c
ex7.c
ex8.c
ex9.c
makefile