use `getCommunication()` instead of `getCollectiveCommunication()`
Compare changes
@@ -86,7 +86,7 @@ energy(const typename Basis::LocalView& localView,
@@ -202,7 +202,7 @@ assembleGradientAndHessian(const typename Basis::LocalView& localView,