68 static_assert(
sizeof...(Ns_t) > 0);
70 using Sizes = mp_list_c<int, detail::NumberOfDofs<Ns_t>::value...>;
72 mp_push_front<mp_pop_back<mp_partial_sum<Sizes, mp_int<0>, mp_plus>>,
75 assert((mp_back<Offsets>::value + mp_back<Sizes>::value == x.size()) &&
76 "The passed shape matrices require a different number of "
77 "d.o.f.s than present in the passed element d.o.f. vector.");