| 3e05ceb1 | 06-Sep-2019 |
Hong Zhang <hongzhang@anl.gov> |
Add the shift variable to the TSTheta context
So the shift can be changed dynamically for SNES function and Jacobian evaluations. Previously it is fixed.
Funded-by: Project: FASTMath adjoint Time:
Add the shift variable to the TSTheta context
So the shift can be changed dynamically for SNES function and Jacobian evaluations. Previously it is fixed.
Funded-by: Project: FASTMath adjoint Time: 1.0 hours Reported-by: Thanks-to: Barry Smith <bsmith@mcs.anl.gov>
show more ...
|
| 67633408 | 12-Apr-2019 |
Hong Zhang <hongzhang@anl.gov> |
TSTheta: hack Hessian computation for explicit ODE
The adjoint of Theta methods does not work if users provide callbacks for an explicit ODE (RHSFunction,RHSJacobian,RHSHessian,etc.). TSComputeXXX h
TSTheta: hack Hessian computation for explicit ODE
The adjoint of Theta methods does not work if users provide callbacks for an explicit ODE (RHSFunction,RHSJacobian,RHSHessian,etc.). TSComputeXXX handles the conversion implicitly, which is convoluted.
Funded-by: Project: FASTMATH adjoint Time: 1.0 hours Reported-by: Thanks-to:
show more ...
|
| 33f72c5d | 07-May-2018 |
Hong Zhang <hongzhang@anl.gov> |
Refactor TSAdjoint
- Add TSComputeIJacobianP() and TSSetIJacobianP() to pave the way for IMEX adjoint. - Working on the second-order adjoint to compute parametric sensitivities using backward Euler.
Refactor TSAdjoint
- Add TSComputeIJacobianP() and TSSetIJacobianP() to pave the way for IMEX adjoint. - Working on the second-order adjoint to compute parametric sensitivities using backward Euler. - Remove redundant code in TSReset_Theta. TSReset_Theta should not do what TSForwardReset_Theta or TSAdjointReset_Theta do
Funded-by: Project: FASTMath adjoint Time: 7.0 hours Reported-by: Thanks-to:
Fix TSAdjointInitializeForward for second-order adjoint
To calculate second-order parametric sensitivity, the TLM variable should be initialized as 2*dIdP*dir.
Funded-by: Project: FASTMath adjoint Time: 2.0 hours Reported-by: Thanks-to:
show more ...
|
| 0e11c21f | 01-Apr-2018 |
Hong Zhang <hongzhang@anl.gov> |
Fix the error in TLM when JacobianP is not provided
When calculating sensitivity to initial values, the JacobianP should not be required. In this case, users can either provide an all-zero JacobianP
Fix the error in TLM when JacobianP is not provided
When calculating sensitivity to initial values, the JacobianP should not be required. In this case, users can either provide an all-zero JacobianP or not provide it.
Funded-by: Project: FASTMATH adjoint Time: 1.0 hours Reported-by: Thanks-to:
show more ...
|
| b5b4017a | 08-Mar-2018 |
Hong Zhang <hongzhang@anl.gov> |
Add second-order adjoint backbone
Compiles, but not tested
Funded-by: Project: FASTMath adjoint Time: 10.0 hours Reported-by: Thanks-to:
Fix the forward setup for endpoint=0 case
Funded-by: Proje
Add second-order adjoint backbone
Compiles, but not tested
Funded-by: Project: FASTMath adjoint Time: 10.0 hours Reported-by: Thanks-to:
Fix the forward setup for endpoint=0 case
Funded-by: Project: FASTMath adjoint Time: Reported-by: Thanks-to:
show more ...
|