#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 |
Notes: Can only be called after MatSetSizes() and MatSetType() have been set.