vectors

  • basic routines; Basic vector routines.
  • basic routines; Demonstrates the AMS Memory Snooper viewing.
  • basic routines; Demonstrates various vector routines.
  • assembling vectors; Tests PetscObjectPublish().
  • assembling vectors; Builds a parallel vector with 1 component on the firstprocessor, 2 on the second, etc.
    Then each processor adds one to all elements except the last rank.
  • setting values Parallel vector layout.
  • local access to Parallel vector layout.
  • drawing vectors; Parallel vector layout.
  • assembling vectors with local ordering; Demonstrates using a local ordering to set values into a parallel vector.
  • assembling vectors; ghost padding Demonstrates use of VecCreateGhost().
  • norms of sub-vectors; Demonstrates VecStrideNorm().
  • sub-vectors; Demonstrates VecStrideScatter() and VecStrideGather().