[petsc-users] Manual mistaken about VecSetValues

Patrick Sanan patrick.sanan at gmail.com
Tue Apr 11 03:03:21 CDT 2017


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 <j.wuttke at fz-juelich.de>:
> 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".
>


More information about the petsc-users mailing list