22#include <boost/fusion/include/at_c.hpp>
32 template<
typename Function>
41 template<
typename Function>
44 return std::sqrt(
square(f));
53 template<
typename Function>
65 template<
typename Function>
68 return std::sqrt(
square(f));
78 template<
typename Function>
87 template<
typename Function>
90 return std::sqrt(
square(f));
94 template<
class Space>
class LocalIntegral;
95 template<
class Gr
id,
class T>
class CellData;
98 template<
class Function>
99 [[deprecated(
"appears to be outdated and unused - candidate for removal")]]
102 typedef typename Function::Space Space;
103 typedef typename Space::Grid Grid;
106 errorIndicator(localIntegral(
107 makeView<FunctionViews::AbsSquare>(makeView<FunctionViews::Gradient>(f))));
108 return errorIndicator;
112 template<
class Function>
113 [[deprecated(
"appears to be outdated and unused - candidate for removal")]]
116 typedef typename Function::Space Space;
117 typedef typename Space::Grid Grid;
120 errorIndicator(localIntegral(
121 makeView<FunctionViews::AbsSquare>(f)));
122 return errorIndicator;
134 template <
class FEFunction>
Function is the interface for evaluatable functions .
std::vector< CellDataPair > CellDataVector
A function view returning the square of the Frobenius norm of a function's derivative.
Evaluation class for integrals.
Create a CellData by computing local integrals over each Cell.
Some useful views on FunctionSpaceElement s.
Function::ValueType integral(Function const &f)
Evaluate integrals of finite element functions.
FEFunction::ValueType integrateOverBoundary(FEFunction const &function)
integrateOverBoundary computes the integral of an FE function over the whole boundary of the underlyi...
Functionalities for integration of FunctionSpaceElement s or FunctionViews.
auto boundaryL2Norm(FEFunction const &function)
boundaryL2Norm computes the L2-norm of an FE function on the whole boundary of the underlying grid.
CellData< typenameFunction::Space::Grid, typenameFunction::ValueType >::CellDataVector localL2Norm(Function const &f)
local (cellwise) L2-norms
CellData< typenameFunction::Space::Grid, typenameFunction::ValueType >::CellDataVector localH1SemiNorm(Function const &f)
local (cellwise) H1-semi-norms
Function::Scalar square(Function f)
Evaluation of square norm.
Function::Scalar operator()(Function f)
Evaluation of norm.
Function::Scalar operator()(Function const &f) const
Evaluation of norm.
Function::Scalar square(Function const &f) const
Evaluation of square norm.
Function::Scalar operator()(Function const &f) const
Evaluation of norm.
Function::Scalar square(Function const &f) const
Evaluation of square norm.