Hello,
Say I want to write $a = K*u_0$ , where $K$ is stiffness matrix and $u_0$ is initial condition.
So are the following two forms the same?
k = inner(nabla_grad(u),nabla_grad(v))*dx # stiffness matrix integrand
K = assemble(k)
a = K*u_0
OR
a = inner(nabla_grad(u_0), nabla_grad(v))*dx