Does this mean that the adjoint method doesn’t take into account the step adapter? Meaning that the adapter is not differentiated with respect to its dependencies (one of them being the solution at each time step). I can imagine that a discrete adjoint method with a step controller should be differentiating the step controller as well.
Thanks Miguel From: "Zhang, Hong" <[email protected]> Date: Wednesday, October 28, 2020 at 8:36 PM To: "Salazar De Troya, Miguel" <[email protected]> Cc: "Guyer, Jonathan E. Dr. (Fed) via petsc-users" <[email protected]> Subject: Re: [petsc-users] TSAdjoint and adaptive time stepping I think it depends on the functional for which the sensitivities are calculated. For most cases, the objective functional should not be sensitive to the step sizes when a converged solution is achieved. What the adapter does is just to choose a step size so that the solution is accurate within certain tolerances. Of course, if the adapter is not doing a good job (e.g. choosing a step size that leads to instability), not only the sensitivities are influenced but also the solution is inaccurate. Hong (Mr.) On Oct 28, 2020, at 4:54 PM, Salazar De Troya, Miguel via petsc-users <[email protected]<mailto:[email protected]>> wrote: Hello, I saw in the TSAdjoint paper that adjoints for adaptive time stepping schemes are supported. Given that these schemes usually involve nondifferentiable functions to pick the time step, are the sensitivities also nondifferentiable at certain points? Does one need to be careful when using adjoints with adaptive time steps? Thanks Miguel Miguel A. Salazar de Troya Postdoctoral Researcher, Lawrence Livermore National Laboratory B141 Rm: 1085-5 Ph: 1(925) 422-6411
