KASKADE 7 development version
|
A callable that allows to implement weighted (scaled) norms. More...
#include <concepts.hh>
A callable that allows to implement weighted (scaled) norms.
This interface needs to be implemented for computing spatially weighted norms. Plain, unscaled norms can be constructed using the trivial IdentityScaling.
Note that scalings conforming to this interface can also be implemented as lambda functions.
Definition at line 404 of file concepts.hh.
Public Member Functions | |
template<class Cell , class Sequence > | |
void | operator() (Cell const &cell, Dune::FieldVector< typename Cell::Geometry::ctype, Cell::dimension > const &localPos, Sequence &values) const |
void Scaling::operator() | ( | Cell const & | cell, |
Dune::FieldVector< typename Cell::Geometry::ctype, Cell::dimension > const & | localPos, | ||
Sequence & | values | ||
) | const |
Cell | a Dune grid entity type of codimension 0 |
Sequence | a boost::fusion sequence containing the values to be scaled |
cell | the cell on which the scaling should be applied |
localPos | the position at which the scaling schould be applied, given in local coordinates |
values | the values that are to be scaled in place. This is a heterogeneous vector of Dune::FieldVector's that contain the values of a set of FE functions evaluated at the given point. |