Skip to main content
Ctrl+K
PETSc v3.24.5-686-g2b3a95b64d2c documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • TaoTermShellSetView

TaoTermShellSetView#

Set the view function of a TAOTERMSHELL

Synopsis#

#include "petsctao.h" 
PetscErrorCode TaoTermShellSetView(TaoTerm term, PetscErrorCode (*view)(TaoTerm term, PetscViewer viewer))

Logically collective

Input Parameters#

  • term - a TaoTerm of type TAOTERMSHELL

  • view - a function with the same signature as TaoTermView()

Calling sequence of view#

  • term - the TaoTerm

  • viewer - a PetscViewer

See Also#

TaoTerm: composable objective function terms, TaoTerm, TAOTERMSHELL, TaoTermShellGetContext(), TaoTermShellSetContextDestroy(), TaoTermShellSetObjective(), TaoTermShellSetGradient(), TaoTermShellSetObjectiveAndGradient(), TaoTermShellSetHessian()

Level#

intermediate

Location#

src/tao/term/impls/shell/taotermshell.c

Implementations#

TaoTermShellSetView_Shell(TaoTerm term, PetscErrorCode (*view)() in src/tao/term/impls/shell/taotermshell.c


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

On this page
  • Synopsis
  • Input Parameters
  • Calling sequence of view
  • See Also
  • Level
  • Location
  • Implementations
Edit on GitLab
Show Source

© Copyright 1991-2026, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2026-03-27T03:46:44-0500 (v3.24.5-686-g2b3a95b64d2c).