ufz/ogs — pull request #211 by endJunction (2013-09-03 21:41:08+00:00)
Title: [MaL] Replace Gauss-Legendre algorithm with compile-time implementation.

Any weighted sum of type sum(f(x_i)*w_i) can be computed at compile-time
provided constexpr input. This is implemented in Integration.h file in
WeightedSum::add(f).

The integration method must provide values for x_i and w_i corresponding
to its order. An example implementation is the Gauss-Legendre integration
method up to fourth order.