12#ifndef DUMUX_GEOMETRY_CENTER_HH
13#define DUMUX_GEOMETRY_CENTER_HH
23template<
class Corners>
24typename Corners::value_type
center(
const Corners& corners)
26 using Pos =
typename Corners::value_type;
27 auto center = std::accumulate(corners.begin(), corners.end(), Pos(0.0));
Corners::value_type center(const Corners &corners)
The center of a given list of corners.
Definition: center.hh:24