Function Dune::GDT::h1_semi_norm¶
Function template Dune::GDT::h1_semi_norm¶
-
template<class GridViewType, size_t r>
double Dune::GDT::h1_semi_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>, GridViewType::dimension, GridViewType::dimension> weight = 1., const int over_integrate = 0)¶ Computes the (optionally weighted) H1 semi norm of a vector-valued grid function over the given grid view.
Function template Dune::GDT::h1_semi_norm¶
-
template<class GridViewType>
double Dune::GDT::h1_semi_norm(const GridViewType &grid_view, XT::Functions::GridFunction<XT::Grid::extract_entity_t<GridViewType>> function, XT::Functions::GridFunction<XT::Grid::extract_entity_t<GridViewType>, GridViewType::dimension, GridViewType::dimension> weight = 1., const int over_integrate = 0)¶ Computes the (optionally weighted) H1 semi norm of a scalar grid function over the given grid view.