Hi, I want to do below if line code but left hand side is an operationcellfield while right hand side is float. do you know how can i make this comparison? actually i need to get the final value of summation over operation cell field to make comparison but i dont know how to do this in gridap. dv is elements volume vector
pfh = FEFunction(fem_params.Pf, pf_vec)
pth = (pf -> Threshold(pf; β, η)) ∘ pfh
if sum∘(pth⊙dv) > 0.55*sum(dv)
I’ll appreciate any suggestion.