On 19 Feb 2016, at 13:15, Angwenyi David <kipkoej@gmail.com> wrote:
Hi all,
I still have a problem with the time loop. I get the following error.
f = Function(V).interpolate(Expression("x[0]*x[1]*x[2]*t"))
This line is wrong.
The "t" variable is not defined by default in the Expression evaluation.
You need to write something like:
Expression("x[0]*x[1]*x[2]*t", t=the_value_you_want_t_to_have)
Cheers,
Lawrence
_______________________________________________
firedrake mailing list
firedrake@imperial.ac.ukhttps://mailman.ic.ac.uk/mailman/listinfo/firedrake