#include "petsc/finclude/petscXXX.h"
use petscXXX
You can declare PETSc variables using either of the following.
XXX variablename
type(tXXX) variablename
For example,
#include "petsc/finclude/petscvec.h"
use petscvec
Vec b
type(tVec) x
Level:beginner
Location:include/petscsys.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages