[petsc-dev] SNESLineSearchSetPostCheck not being called in petsc 3.1-p8

2011-06-07 Thread Matthew Knepley
On Tue, Jun 7, 2011 at 5:30 PM, David Andrs wrote: > > Hi all! > > I'm trying to hook my custom callback when using SNES using > SNESLineSearchSetPostCheck and it seems to me that this callback is not > being called. I based my test case on top of example 3 in > src/snes/examples/tutorials. I put

[petsc-dev] SNESLineSearchSetPostCheck not being called in petsc 3.1-p8

2011-06-07 Thread David Andrs
Hi all! I'm trying to hook my custom callback when using SNES using SNESLineSearchSetPostCheck and it seems to me that this callback is not being called. I based my test case on top of example 3 in src/snes/examples/tutorials. I put a print statement into both PreCheck and PostCheck function,