@@ -879,6 +879,10 @@ namespace core
879879 return GridLayoutImpl::centering (hybridQuantity);
880880 }
881881
882+ NO_DISCARD constexpr static auto centering (auto const & hasQuantity)
883+ {
884+ return centering (hasQuantity.physicalQuantity ());
885+ }
882886
883887 NO_DISCARD constexpr static std::array<std::array<QtyCentering, dimension>, 6 >
884888 centering (HybridQuantity::Tensor hybridQuantity)
@@ -1027,6 +1031,29 @@ namespace core
10271031
10281032
10291033
1034+ /* *
1035+ * @brief BxToMoments return the indexes and associated coef to compute the linear
1036+ * interpolation necessary to project Bx onto moments.
1037+ */
1038+ NO_DISCARD auto static constexpr BxToMoments () { return GridLayoutImpl::BxToMoments (); }
1039+
1040+
1041+ /* *
1042+ * @brief ByToMoments return the indexes and associated coef to compute the linear
1043+ * interpolation necessary to project By onto moments.
1044+ */
1045+ NO_DISCARD auto static constexpr ByToMoments () { return GridLayoutImpl::ByToMoments (); }
1046+
1047+
1048+ /* *
1049+ * @brief BzToMoments return the indexes and associated coef to compute the linear
1050+ * interpolation necessary to project Bz onto moments.
1051+ */
1052+ NO_DISCARD auto static constexpr BzToMoments () { return GridLayoutImpl::BzToMoments (); }
1053+
1054+
1055+
1056+
10301057 /* *
10311058 * @brief ExToMoments return the indexes and associated coef to compute the linear
10321059 * interpolation necessary to project Ex onto moments.
@@ -1181,6 +1208,8 @@ namespace core
11811208 }));
11821209 }
11831210
1211+
1212+
11841213 template <typename Field, typename Fn>
11851214 void evalOnBox (Field& field, Fn&& fn) const
11861215 {
0 commit comments