You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UxDataArray.integrate() ignores quadrature_rule and order kwargs #1599
Calling UxDataArray.integrate(order=8), for example, does not actually utilize order=8. Similarly, adjusting quadrature_rule has no effect on results. This was introduced by #1379, which swapped to using self.uxgrid.face_areas instead of self.uxgrid.compute_face_areas(quadrature_rule, order) here, but failed to remove the quadrature_rule and order kwargs from the function signature and docstring.
I expected these documented kwargs to be handled properly inside the function, or for these kwargs to be removed or be documented as "deprecated".
If the decision ends up being to properly handle these kwargs, it might make sense to wait until after #1577 gets merged. If the decision is to remove them, maybe there should be a deprecation cycle?
Activity
Honor quadrature_rule and order in UxDataArray.integrate()