I want to evaluate a tensor contraction like elastic energy and interpolate it on the FunctionSpace to solve an evolution equation. Assume that I have defined the tensors appropriately. Is there a way to define a tensor contraction as an expression?
Expression (" C[ijkl]e[ij]e[kl]") ?