The path is important, as there are many examples named "ex2.c". The
example on pp. 32-35 is
${PETSC_DIR}/src/ksp/ksp/examples/tutorials/ex2.c , which is about
KSP, not Vec.2017-04-11 9:53 GMT+02:00 Joachim Wuttke <[email protected]>: > The PETSc User Manual [ANL-95/11 Rev 3.7 ] says on p. 44: > Example usage of VecSetValues() may be found in > ${PETSC_DIR}/src/vec/vec/examples/tutorials/ex2.c > > However, that example [pp. 32-35 in the User Manual] > does not contain "VecSetValues". >
