| 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 ...
|
| 3fca9621 | 20-Apr-2018 |
Hong Zhang <hongzhang@anl.gov> |
Add a switch for second-order adjoint
One can pass NULL to TSSetCostHessianProducts() for the 3rd argument lambda2 to disable second-order adjoint while not resetting the TSAdjoint context
Funded-b
Add a switch for second-order adjoint
One can pass NULL to TSSetCostHessianProducts() for the 3rd argument lambda2 to disable second-order adjoint while not resetting the TSAdjoint context
Funded-by: Project: FASTMATH adjoint Time: 0.5 hours Reported-by: Thanks-to:
show more ...
|
| cda2db4b | 20-Apr-2018 |
Hong Zhang <hongzhang@anl.gov> |
Separate TSReset(),TSForwardReset() and TSAdjointReset()
Allows the TLM and adjoint context to be removed from the TS context. Use cases are when one wants to disable sensitivity analysis while reus
Separate TSReset(),TSForwardReset() and TSAdjointReset()
Allows the TLM and adjoint context to be removed from the TS context. Use cases are when one wants to disable sensitivity analysis while reusing TS for the simulation.
Funded-by: Project: FASTMath adjoint Time: 0.2 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 ...
|