[petsc-users] TSAdjoint and adaptive time stepping

Salazar De Troya, Miguel salazardetro1 at llnl.gov
Thu Oct 29 11:10:56 CDT 2020


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" <hongzhang at anl.gov>
Date: Wednesday, October 28, 2020 at 8:36 PM
To: "Salazar De Troya, Miguel" <salazardetro1 at llnl.gov>
Cc: "Guyer, Jonathan E. Dr. (Fed) via petsc-users" <petsc-users at mcs.anl.gov>
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 <petsc-users at mcs.anl.gov<mailto:petsc-users at mcs.anl.gov>> 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20201029/5c26a846/attachment-0001.html>


More information about the petsc-users mailing list