Hm, I was completely off here. This example is a system
of two ODE. Instead of time-stepping, H1D discretizes
the entire time interval at once using finite elements, hence
only one Newton's loop.
Nevertheless, I created a new example
laplace_timedep for the time-dependent heat transfer
equation du/dt - Laplace u - f = 0 discretized using the
implicit Euler method in time. However, during the
implementation I realized that the residual needs to
access the previous time level solution. This is implemented
in H2D and H3D but not in H1D yet.
Given the fact that the new object-oriented weak forms in
H2D are the ultimate standard that will be ported to H1D and
H3D, I would not do any hacks to H1D at the moment.
If you like, you can help us port the new object-oriented
weak forms from H2D to H1D. That should not be too difficult
as the forms are almost dimension-independent, and we would
be able to solve time-dependent PDE in H1D.
Best,
Pavel