Hello,
I am encountering some confusion regarding the operations on vector and tensor fields in the following code snippet:
dev(filter_(sqr(U)) - (sqr(filter_(U))));
From my understanding, both filter_(sqr(U)) and (sqr(filter_(U))) should return vector fields. However, the dev function is typically used for tensor fields. I am not aware of any function overloading for sqr that computes the outer product, nor for dev that accepts vector fields. Could you please help clarify what I might be missing here?
Thank you for your attention!
Hello,
I am encountering some confusion regarding the operations on vector and tensor fields in the following code snippet:
dev(filter_(sqr(U)) - (sqr(filter_(U))));From my understanding, both
filter_(sqr(U))and(sqr(filter_(U)))should return vector fields. However, the dev function is typically used for tensor fields. I am not aware of any function overloading forsqrthat computes the outer product, nor fordevthat accepts vector fields. Could you please help clarify what I might be missing here?Thank you for your attention!