#include "petscsnes.h" PetscErrorCode SNESSetLagJacobian(SNES snes,PetscInt lag)Logically Collective on SNES

snes | - the SNES context | |

lag | - -1 indicates NEVER rebuild, 1 means rebuild every time the Jacobian is computed within a single nonlinear solve, 2 means every second time the Jacobian is built etc. -2 means rebuild at next chance but then never again |

-snes_lag_jacobian_persists <true,false> | - sets the persistence | |

-snes_lag_jacobian < | - 2,1,2,...> - sets the lag | |

-snes_lag_preconditioner_persists <true,false> | - sets the persistence | |

-snes_lag_preconditioner < | - 2,1,2,...> - sets the lag. |

Index of all SNES routines

Table of Contents for all manual pages

Index of all manual pages