-
Committer:
Patrick Farrell
-
Date:
2011-07-08 09:23:50 UTC
-
mto:
This revision was merged to the branch mainline in
revision
3521.
-
Revision ID:
patrick.farrell06@imperial.ac.uk-20110708092350-jnpl7o3hwc2rxrx0
Add another test. The functional is the L2norm at t=0. The gradient is
computed with the adjoint, which only kicks in for the first forward equation.
As expected, the derivative test converges at second order.
However, if we change the functional to the L2norm at t=1, the
gradient is wrong. I'm still investigating.