xref: /petsc/src/ts/tutorials/power_grid/output/ex9opt_2.out (revision a686821c946c897cca2665e29b18ed219b55d4d1)
1  ---------- Testing Gradient -------------
2  Run with -tao_test_gradient_view and optionally -tao_test_gradient <threshold> to show difference
3    of hand-coded and finite difference gradient entries greater than <threshold>.
4  Testing hand-coded Gradient, if (for double precision runs) ||G - Gfd||/||G|| is
5    O(1.e-8), the hand-coded Gradient is probably correct.
6  ||Gfd|| 0.0021849, ||G|| = 0.00218604, angle cosine = (Gfd'G)/||Gfd||||G|| = 1.
7  2-norm ||G - Gfd||/||G|| = 0.000520807, ||G - Gfd|| = 1.1385e-06
8  max-norm ||G - Gfd||/||G|| = 0.000520807, ||G - Gfd|| = 1.1385e-06
9  0 TAO,  Function value: -1.01855,  Residual: 0.00218604
10  ---------- Testing Gradient -------------
11  ||Gfd|| 1., ||G|| = 1., angle cosine = (Gfd'G)/||Gfd||||G|| = 1.
12  2-norm ||G - Gfd||/||G|| = 2.22045e-16, ||G - Gfd|| = 2.22045e-16
13  max-norm ||G - Gfd||/||G|| = 2.22045e-16, ||G - Gfd|| = 2.22045e-16
14  ---------- Testing Gradient -------------
15  ||Gfd|| 0.0736232, ||G|| = 0.0736226, angle cosine = (Gfd'G)/||Gfd||||G|| = 1.
16  2-norm ||G - Gfd||/||G|| = 8.2006e-06, ||G - Gfd|| = 6.03754e-07
17  max-norm ||G - Gfd||/||G|| = 8.2006e-06, ||G - Gfd|| = 6.03754e-07
18  ---------- Testing Gradient -------------
19  ||Gfd|| 3.42727e-07, ||G|| = 1.38753e-11, angle cosine = (Gfd'G)/||Gfd||||G|| = -1.
20  2-norm ||G - Gfd||/||G|| = 1.00004, ||G - Gfd|| = 3.42741e-07
21  max-norm ||G - Gfd||/||G|| = 1.00004, ||G - Gfd|| = 3.42741e-07
22  1 TAO,  Function value: -1.01855,  Residual: 1.38753e-11
23TAO solve converged due to CONVERGED_GRTOL iterations 1
24Vec Object: 1 MPI process
25  type: seq
261.0194
27