I have two AssignedVectorFunctions, one is velocity field w_u and the other is b_f, which is a function of the velocity field. I want to edit the values of b_f so that on every node that has a higher value than that node in w_u, the value is set to the value of w_u. Or, in other words, every node in b_f has to satisfy:
b_f(i) <= w_u(i), with i being the current node.
Does anybody know how to achieve this?
Thanks in advance