Function Dune::GDT::h1_norm

Function template Dune::GDT::h1_norm

template<class GridViewType, size_t r>
double Dune::GDT::h1_norm(const GridViewType &grid_view, const XT::Functions::GridFunctionInterface<XT::Grid::extract_entity_t<GridViewType>, r> &function, XT::Functions::GridFunction<XT::Grid::extract_entity_t<GridViewType>, r, r> l2_weight, XT::Functions::GridFunction<XT::Grid::extract_entity_t<GridViewType>, GridViewType::dimension, GridViewType::dimension> h1_semi_weight, const int over_integrate = 0)

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

Function template Dune::GDT::h1_norm

template<class GridViewType, size_t r>
std::enable_if_t<r != GridViewType::dimension, double> Dune::GDT::h1_norm(const GridViewType &grid_view, const XT::Functions::GridFunctionInterface<XT::Grid::extract_entity_t<GridViewType>, r> &function, XT::Functions::GridFunction<XT::Grid::extract_entity_t<GridViewType>> weight = 1., const int over_integrate = 0)

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

Function template Dune::GDT::h1_norm

template<class GridViewType, size_t r>
std::enable_if_t<r == GridViewType::dimension, double> Dune::GDT::h1_norm(const GridViewType &grid_view, const XT::Functions::GridFunctionInterface<XT::Grid::extract_entity_t<GridViewType>, r> &function, XT::Functions::GridFunction<XT::Grid::extract_entity_t<GridViewType>, r, r> weight = 1., const int over_integrate = 0)

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

Function template Dune::GDT::h1_norm

template<class GridViewType>
double Dune::GDT::h1_norm(const GridViewType &grid_view, XT::Functions::GridFunction<XT::Grid::extract_entity_t<GridViewType>> function, XT::Functions::GridFunction<XT::Grid::extract_entity_t<GridViewType>> l2_weight, XT::Functions::GridFunction<XT::Grid::extract_entity_t<GridViewType>> h1_semi_weight, const int over_integrate = 0)

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

Function template Dune::GDT::h1_norm

template<class GridViewType>
double Dune::GDT::h1_norm(const GridViewType &grid_view, XT::Functions::GridFunction<XT::Grid::extract_entity_t<GridViewType>> function, XT::Functions::GridFunction<XT::Grid::extract_entity_t<GridViewType>> weight = 1., const int over_integrate = 0)

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