PetscObjectSAWsViewOff — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscObjectSAWsViewOff

Remove a `PetscObject`’s SAWs (Scientific Application Web server) directory so the object is no longer published

## Synopsis

    #include "petscsys.h"
    PetscErrorCode PetscObjectSAWsViewOff(PetscObject obj)

Logically Collective

## Input Parameter

- obj - the `PetscObject` whose SAWs publication should be torn down

## Notes

No-op for `PetscViewer` objects, and for any object that was never published via SAWs.

Called from `PetscObjectDestroy()`; users normally do not need to call this directly.

## See Also

`PetscObject`, `PetscObjectSAWsBlock()`, `PetscObjectSAWsTakeAccess()`, `PetscObjectSAWsGrantAccess()`

## Level

developer

## Location

src/sys/ams/pams.c

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