Element-wise operations

Hello all
I am wondering how element wise operations can be achieved in pyfr (beyond matrix multiplication)?
In particular, I am interested in extracting the element average/0th order polynomial, and the minimum/maximum value of a single variable in the solution points to be used in point-wise operations.

Many thanks
Eitan

This can be done with a 1D kernel in PyFR. An example of such a kernel in the current release is the shock sensor.

Regards, Freddie.

Thank you very much, Such an example is exactly what I have been searching for…