Re: [petsc-users] Time integrated adjoints

2015-04-15 Thread Barry Smith
Hong and Emil, You will need to answer this. On Apr 15, 2015, at 6:24 AM, Dave Makhija makhi...@colorado.edu wrote: Barry, Is the method exact if I have a time dependent mass matrix (dF/dU_t changes each time step)? I'm not sure it's possible if TSSetIJacobian expects a

Re: [petsc-users] Time integrated adjoints

2015-04-15 Thread Emil Constantinescu
On 4/15/15 12:37 PM, Barry Smith wrote: Hong and Emil, You will need to answer this. On Apr 15, 2015, at 6:24 AM, Dave Makhija makhi...@colorado.edu wrote: Barry, Is the method exact if I have a time dependent mass matrix (dF/dU_t changes each time step)? I'm not sure it's

Re: [petsc-users] Time integrated adjoints

2015-04-15 Thread Dave Makhija
Barry, Is the method exact if I have a time dependent mass matrix (dF/dU_t changes each time step)? I'm not sure it's possible if TSSetIJacobian expects a function which computes the combination of dF/dU and a*dF/dU_t. But, perhaps there is something I'm missing. Otherwise, it looks very

[petsc-users] Time integrated adjoints

2015-04-14 Thread Dave Makhija
Hello, I'm evaluating my options for computing time dependent adjoints. I did not think PETSc supported this, but I see TSAdjointSolve in the development branch. That would be fantastic news if you plan to support time integrated adjoints! What features are envisioned and when is the targeted

Re: [petsc-users] Time integrated adjoints

2015-04-14 Thread Barry Smith
On Apr 14, 2015, at 1:06 AM, Dave Makhija makhi...@colorado.edu wrote: Hello, I'm evaluating my options for computing time dependent adjoints. I did not think PETSc supported this, but I see TSAdjointSolve in the development branch. That would be fantastic news if you plan to support