#include "petscsys.h" */ PetscErrorCode PetscObjectViewSAWs(PetscObject obj,PetscViewer viewer)Collective on PetscObject
obj | - the Petsc variable Thus must be cast with a (PetscObject), for example, PetscObjectSetName((PetscObject)mat,name); | |
viewer | - the SAWs viewer |
Developer Note: Currently this is called only on rank zero of PETSC_COMM_WORLD
The object must have already been named before calling this routine since naming an object can be collective.