KASKADE 7 development version
Public Member Functions | List of all members
Scaling Class Reference

A callable that allows to implement weighted (scaled) norms. More...

#include <concepts.hh>

Detailed Description

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
 

Member Function Documentation

◆ operator()()

template<class Cell , class Sequence >
void Scaling::operator() ( Cell const &  cell,
Dune::FieldVector< typename Cell::Geometry::ctype, Cell::dimension > const &  localPos,
Sequence &  values 
) const
Template Parameters
Cella Dune grid entity type of codimension 0
Sequencea boost::fusion sequence containing the values to be scaled
Parameters
cellthe cell on which the scaling should be applied
localPosthe position at which the scaling schould be applied, given in local coordinates
valuesthe 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.

The documentation for this class was generated from the following file: