Hey everyone,
Just curious,
L = (y - d)**2 * dx + Constant(alpha) * u**2 * dx \
+ inner(grad(y), grad(p)) * dx - u * p * dx
If I wanted to make it so that this also is defined on a time interval [0,T], how would I go about that. For my problem, my Lagrangian has a L^2[0,T] norm, so I'm curious how we incorporate this. I would like to solve the problem like was done here, just time dependent. I would value someones input very much.
https://fenicsproject.org/qa/9936/problem-constraint-optimization-nonlinearvariationalsolver