petsc-3.15.0 2021-03-30
Report Typos and Errors

MatProductSetFromOptions

Creates a matrix product where the type, the algorithm etc are determined from the options database.

Synopsis

#include "petscmat.h" 
PetscErrorCode MatProductSetFromOptions(Mat mat)
Logically Collective on Mat

Input Parameter

mat - the matrix

Options Database Keys

-mat_product_clear - Clear intermediate data structures after MatProductNumeric() has been called

See Also

MatSetFromOptions(), MatProductCreate(), MatProductCreateWithMat()

Level

intermediate

Location

src/mat/interface/matproduct.c

Examples

src/tao/pde_constrained/tutorials/parabolic.c.html

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