MatOption#

Options that may be set for a matrix that indicate properties of the matrix or affect its behavior or storage

Synopsis#

Note#

See MatSetOption() for the use of the options

Developer Note#

Entries that are negative need not be called collectively by all processes.

See Also#

Matrices, Mat, MatSetOption()

Level#

beginner

Location#

include/petscmat.h

Examples#

src/mat/tutorials/ex4.c
src/ksp/ksp/tutorials/ex62.c
src/ksp/ksp/tutorials/ex69.c
src/ksp/ksp/tutorials/ex79.c
src/ksp/ksp/tutorials/ex4.c
src/snes/tutorials/ex28.c
src/tao/unconstrained/tutorials/burgers_spectral.c
src/tao/unconstrained/tutorials/spectraladjointassimilation.c
src/ts/tutorials/ex50.c

Examples#

src/snes/tutorials/ex46.c
src/snes/tutorials/ex35.c
src/ts/tutorials/ex21.c
src/tao/bound/tutorials/jbearing2.c
src/ts/tutorials/ex5.c
src/snes/tutorials/ex14.c
src/snes/tutorials/ex55.c
src/snes/tutorials/ex28.c
src/tao/unconstrained/tutorials/eptorsion2.c
src/snes/tutorials/ex5.c

Examples#

src/tao/complementarity/tutorials/blackscholes.c
src/tao/unconstrained/tutorials/minsurf2.c
src/tao/unconstrained/tutorials/minsurf1.c
src/tao/bound/tutorials/plate2.c
src/tao/complementarity/tutorials/minsurf1.c

Examples#

src/snes/tutorials/ex48.c

Examples#

src/ksp/ksp/tutorials/ex9.c

Examples#

src/ksp/ksp/tutorials/ex59.c
src/ksp/ksp/tutorials/ex72.c

Examples#

src/mat/tutorials/ex12.c
src/ts/tutorials/extchemfield.c
src/ksp/ksp/tutorials/ex59.c
src/ksp/ksp/tutorials/ex4.c
src/snes/tutorials/ex70.c
src/ts/tutorials/extchem.c

Examples#

src/tao/pde_constrained/tutorials/elliptic.c
src/tao/pde_constrained/tutorials/parabolic.c
src/snes/tutorials/ex56.c
src/ksp/ksp/tutorials/ex5.c
src/ksp/ksp/tutorials/ex21.c
src/ksp/ksp/tutorials/ex67.c

Examples#

src/ts/tutorials/extchemfield.c
src/ts/tutorials/extchem.c
src/ksp/ksp/tutorials/ex74.c

Examples#

src/ksp/ksp/tutorials/bench_kspsolve.c
src/ksp/ksp/tutorials/ex55.c
src/snes/tutorials/ex56.c
src/ksp/ksp/tutorials/ex59.c
src/ksp/ksp/tutorials/ex54.c
src/ksp/ksp/tutorials/ex71.c
src/ksp/ksp/tutorials/ex56.c

Examples#

src/tao/tutorials/ex4.c
src/tao/tutorials/ex3.c
src/tao/unconstrained/tutorials/eptorsion3.c
src/tao/pde_constrained/tutorials/parabolic.c
src/tao/bound/tutorials/jbearing2.c
src/tao/unconstrained/tutorials/minsurf2.c
src/tao/unconstrained/tutorials/minsurf1.c
src/tao/unconstrained/tutorials/eptorsion1.c
src/tao/bound/tutorials/plate2.c
src/tao/unconstrained/tutorials/eptorsion2.c

Examples#

src/ksp/ksp/tutorials/bench_kspsolve.c
src/ksp/ksp/tutorials/ex55.c
src/snes/tutorials/ex56.c
src/ksp/ksp/tutorials/ex59.c
src/ksp/ksp/tutorials/ex54.c
src/ksp/ksp/tutorials/ex71.c
src/ksp/ksp/tutorials/ex52.c
src/ksp/ksp/tutorials/ex56.c


Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages