Why is this all not part of the function evaluation?


> On Nov 30, 2023, at 3:25 PM, Alexander Lindsay <[email protected]> 
> wrote:
> 
> Hi I'm looking at the sources, and I believe the answer is no, but is there a 
> dedicated callback that is akin to SNESLineSearchPrecheck but is called 
> before *each* function evaluation in a line search method? I am using a 
> Hybridized Discontinuous Galerkin method in which most of the degrees of 
> freedom are eliminated from the global system. However, an accurate function 
> evaluation requires that an update to the "global" dofs also trigger an 
> update to the eliminated dofs.
> 
> I can almost certainly do this manually but I believe it would be more prone 
> to error than a dedicated callback.

Reply via email to