Vectors

  • using basic vector routines;

    Program usage: mpirun ex1f [-help] [all PETSc options]

  • assembling vectors;

    Description: Builds a parallel vector with 1 component on the first
    processor, 2 on the second, etc. Then each processor adds
    one to all elements except the last rank.

  • Assembling vectors; Using vector arrays;

    Description: Illustrates the use of VecSetValues() to set
    multiple values at once; demonstrates VecGetArray().

  • Using basic vector routines; Demonstrates using ADIC to compute a derivative.
  • Using basic vector routines; Demonstrates using ADIC to compute a derivative.
  • Using basic vector routines; Demonstrates using ADIC to compute a derivative.
  • Using basic vector routines; Demonstrates using ADIC to compute a derivative.