Function Dune::GDT::h1_norm

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

Computes the H1 norm of a vector-valued grid function using separate weights for the L2 and H1 semi parts.

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

Computes the (optionally weighted) H1 norm of a vector-valued grid function whose range dimension equals the grid dimension.

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

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