`std::accumulate` removes the for-loop:
```c++
const double mu = std::accumulate(dest_properties, dest_properties + n_dest_mesh_elements, 0) / n_dest_mesh_elements;
```