Function Dune::GDT::h1_semi_norm

template<class GridViewType, size_t r>
double Dune::GDT::h1_semi_norm(const GridViewType &grid_view, const int, int)

Computes the (optionally weighted) H1 semi norm of a vector-valued grid function over the given grid view.

template<class GridViewType>
double Dune::GDT::h1_semi_norm(const GridViewType &grid_view, int)

Computes the (optionally weighted) H1 semi norm of a scalar grid function over the given grid view.