15 Eigen::MatrixBase<DerivedB> & result)
17 int vectorSize = vector.size();
18 int subvectorSize = result.size();
21 PRECICE_ASSERT(vectorSize % subvectorSize == 0, vectorSize, subvectorSize);
26 for (
int i = 0; i < vectorSize; i += subvectorSize) {
27 result += vector.block(i, 0, subvectorSize, 1);