#include "petsctao.h" PetscErrorCode TaoSetMonitor(Tao tao, PetscErrorCode (*func)(Tao, void*), void *ctx,PetscErrorCode (*dest)(void**))Logically Collective on Tao

tao | - the Tao solver context | |

mymonitor | - monitoring routine | |

mctx | - [optional] user-defined context for private data for the monitor routine (may be NULL) |

PetscErrorCode mymonitor(Tao tao,void *mctx)

tao | - the Tao solver context | |

mctx | - [optional] monitoring context |

-tao_monitor | - sets TaoMonitorDefault() | |

-tao_smonitor | - sets short monitor | |

-tao_cmonitor | - same as smonitor plus constraint norm | |

-tao_view_solution | - view solution at each iteration | |

-tao_view_gradient | - view gradient at each iteration | |

-tao_view_ls_residual | - view least-squares residual vector at each iteration | |

-tao_cancelmonitors | - cancels all monitors that have been hardwired into a code by calls to TaoSetMonitor(), but does not cancel those set via the options database. |

src/tao/unconstrained/tutorials/spectraladjointassimilation.c.html

src/tao/unconstrained/tutorials/eptorsion2f.F.html

src/tao/bound/tutorials/jbearing2.c.html

src/tao/leastsquares/tutorials/chwirut2.c.html

Index of all Tao routines

Table of Contents for all manual pages

Index of all manual pages