Component wise multiplication of two vector valued functions

You’d better give more context and a minimal example, see Read before posting: How do I get my question answered?.

For instance, if all you needed was to use the component wise multiplication in a ufl form, then something like ufl.as_vector((f[0] * g[0], f[1] * g[1])) would be enough.

1 Like