| 35f5172a | 29-Mar-2019 |
Hong Zhang <hongzhang@anl.gov> |
AdjointRK: add support for integral in 2nd-order adjoint
Also fix the problem in calculating parametric 2nd-order adjoint sensitivity.
Funded-by: Project: PETSc for Theta Time: 8.0 hours Reported-b
AdjointRK: add support for integral in 2nd-order adjoint
Also fix the problem in calculating parametric 2nd-order adjoint sensitivity.
Funded-by: Project: PETSc for Theta Time: 8.0 hours Reported-by: Thanks-to:
show more ...
|
| 7207e0fd | 05-Mar-2019 |
Hong Zhang <hongzhang@anl.gov> |
Use quadrature ts to hold tlm sensitivities
- Need guards for integral sensitivity - Remove unneeded check since TLM of quadrature TS use a different TS
Funded-by: Project: FASTMath adjoint Time: 6
Use quadrature ts to hold tlm sensitivities
- Need guards for integral sensitivity - Remove unneeded check since TLM of quadrature TS use a different TS
Funded-by: Project: FASTMath adjoint Time: 6.0 hours Reported-by: Thanks-to:
show more ...
|
| cd4cee2d | 11-Dec-2018 |
Hong Zhang <hongzhang@anl.gov> |
Refactor quadrature
- Use a separate TS for quadrature - Initially focus on Theta and Beuler - Tested on ex3opt and ex9opt - RK support is not complete - Fixed memory leak. log_view for ex3sa shows
Refactor quadrature
- Use a separate TS for quadrature - Initially focus on Theta and Beuler - Tested on ex3opt and ex9opt - RK support is not complete - Fixed memory leak. log_view for ex3sa shows that there is one matrix that is not destroyed.
Funded-by: Project: FASTMath adjoint Time: 9.0 hours Reported-by: Thanks-to:
show more ...
|
| 13af1a74 | 24-Jul-2018 |
Hong Zhang <hongzhang@anl.gov> |
Add second-order adjoint for ERK
Funded-by: Project: FASTMath adjoint Time: 4.0 hours Reported-by: Thanks-to: |
| 922a638c | 24-Jun-2018 |
Hong Zhang <hongzhang@anl.gov> |
Add TLM ERK
Funded-by: Project: FASTMATH adjoint Time: 4.0 hours Reported-by: Thanks-to: |
| 6a1e4597 | 15-Apr-2019 |
Hong Zhang <hongzhang@anl.gov> |
AdjointRK: bug fix for RKs with zeros in b
- One of the problems was caused by FASL - The other problem was caused by zeros in the b vector. The stage sensitivity vector cannot be simply set to zero
AdjointRK: bug fix for RKs with zeros in b
- One of the problems was caused by FASL - The other problem was caused by zeros in the b vector. The stage sensitivity vector cannot be simply set to zero when b[i] is zero. - Before this fix, the adjoint of RK works for only some methods such as 2a,3,4; now it works for all RK methods
Funded-by: Project: FASTMath adjoint Time: 2.0 hours Reported-by: Thanks-to:
show more ...
|
| 2e7b7f96 | 19-Jun-2018 |
Hong Zhang <hongzhang@anl.gov> |
Optimize adjoint ERK and prepare for 2nd-order adjoint
Funded-by: Project: PETSc for Theta Time: 2.0 hours Reported-by: Thanks-to: |
| 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 ...
|
| 1d14d03b | 30-Apr-2018 |
Hong Zhang <hongzhang@anl.gov> |
Second order adjoint works for theta |
| 05c9950e | 25-Apr-2018 |
Hong Zhang <hongzhang@anl.gov> |
Add check for convergence in adjoint run
Funded-by: Project: FASTMATH adjoint Time: 0.5 hours Reported-by: Thanks-to: |
| c9681e5d | 19-Apr-2018 |
Hong Zhang <hongzhang@anl.gov> |
Separate adjoint of BEuler from Theta
BEuler corresponds to a special case: no endpoint + no intermediate stage
Funded-by: Project: FASTMATH adjoint Time: 6.0 hours Reported-by: Thanks-to: |
| 7adebdde | 20-Apr-2018 |
Hong Zhang <hongzhang@anl.gov> |
Add reset function for TSForward
Funded-by: Project: FASTMath adjoint Time: 2.0 hours Reported-by: Thanks-to: |
| ece46509 | 19-Apr-2018 |
Hong Zhang <hongzhang@anl.gov> |
Add reset function for TSAdjoint
This allows TSAdjoint to be turned on/off between different runs using the same TS
Funded-by: Project: FASTMATH adjoint Time: 2.0 hours Reported-by: Thanks-to: |
| 6affb6f8 | 05-Apr-2018 |
Hong Zhang <hongzhang@anl.gov> |
Checkpoint the TLM sensitivity for second-order adjoint
Add TSForwardGetStages to acces the stage values for TLM sensitivities
Funded-by: Project: FASTMath adjoint Time: 8 hours Reported-by: Thanks
Checkpoint the TLM sensitivity for second-order adjoint
Add TSForwardGetStages to acces the stage values for TLM sensitivities
Funded-by: Project: FASTMath adjoint Time: 8 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 ...
|
| c9ad9de0 | 08-Mar-2018 |
Hong Zhang <hongzhang@anl.gov> |
Replace deprecated adjoint functions with new ones
Change y to U for consistency
Funded-by: Project: FASTMATH adjoint Time: 1.0 hours Reported-by: Thanks-to: |
| 8a4be4db | 13-Apr-2019 |
Hong Zhang <hongzhang@anl.gov> |
Add missing ; |
| 7dbacdf2 | 12-Apr-2019 |
Hong Zhang <hongzhang@anl.gov> |
RK: add missing PetscFunctionBegin
Funded-by: Project: PETSc time integration Time: Reported-by: Thanks-to: |
| 41eb3033 | 12-Apr-2019 |
Hong Zhang <hongzhang@anl.gov> |
MPRK: fix memory leak
PetscFree2 != 2 x PetscFree1 Funded-by: Project: PETSc time integration Time: Reported-by: nightly test Thanks-to: Satish Balay |
| f06fb28f | 12-Apr-2019 |
Hong Zhang <hongzhang@anl.gov> |
Fix warnings from BSD build
Funded-by: Project: PETSc time integration Time: Reported-by: nightly test Thanks-to: Satish Balay |
| bf0cca7d | 12-Apr-2019 |
Hong Zhang <hongzhang@anl.gov> |
Add missing CHKERRQ()
Funded-by: Project: PETSc time integration Time: Reported-by: nightly test Thanks-to: |
| ab8985f5 | 12-Apr-2019 |
Hong Zhang <hongzhang@anl.gov> |
RK: fix warnings caused by commit 474dd77 |
| 02555c94 | 11-Apr-2019 |
Hong Zhang <hongzhang@anl.gov> |
Rename MRK to RK_Multirate
Funded-by: Project: PETSc time integration Time: 0.5 hours Reported-by: Thanks-to: Barry Smith |