Hi,
Can anyone kindly advise on how would one write the following expression in C++:
V = FunctionSpace(mesh, "CG", 2)
u0 = Function(V)
ui = Expression('sin(pi*x[0])*sin(pi*x[1])*exp(-350.*(pow(x[0]-0.5,2)+pow(x[1]-0.5,2) - a*t))', a=a, t=0.0)
u0 = interpolate(ui, V)