#include "petscsys.h" PetscErrorCode PetscObjectSAWsSetBlock(PetscObject obj,PetscBool flg)Collective on PetscObject
obj | - the Petsc variable Thus must be cast with a (PetscObject), for example, PetscObjectSetName((PetscObject)mat,name); | |
flg | - whether it should block |