[petsc-users] Discrete adjoint and adaptive time stepping

Barry Smith bsmith at mcs.anl.gov
Wed Apr 29 13:44:42 CDT 2015


> On Apr 29, 2015, at 12:57 PM, Miguel Angel Salazar de Troya <salazardetroya at gmail.com> wrote:
> 
> Hi
> 
> I was wondering if your implementation to calculate sensitivities with discrete adjoints will account for the adaptive time stepping. The time step history depends on the parameters, so it should be included in the derivation of the discrete adjoint. Is this calculated in your implementation?

  Sure,

> If so, how is it done?

   We just keep the history of the time-step sizes and then use those time-step sizes when doing the backward integration. Seems simple to me, am I missing something?

  Barry

> 
> Thanks in advance
> Miguel
> 
> -- 
> Miguel Angel Salazar de Troya
> Graduate Research Assistant
> Department of Mechanical Science and Engineering
> University of Illinois at Urbana-Champaign
> (217) 550-2360
> salaza11 at illinois.edu
> 



More information about the petsc-users mailing list