#include "petscmat.h" PetscErrorCode MatGetOption(Mat mat,MatOption op,PetscBool *flg)Logically Collective on Mat for certain operations, such as MAT_SPD, not collective for MAT_ROW_ORIENTED, see MatOption
mat | - the matrix | |
option | - the option, this only responds to certain options, check the code for which ones |
flg | - turn the option on (PETSC_TRUE) or off (PETSC_FALSE) |