KASKADE 7 development version
Loading...
Searching...
No Matches
Kaskade::ScaledTwoNorm2Collector< Functions, Scaling, Collector > Class Template Reference

A functor for computing scaled \(L^2\)-norms of a set of (possibly vector-valued) functions. More...

#include <iterate_grid.hh>

Public Member Functions

 ScaledTwoNorm2Collector (Scaling const &scaling_, Collector &collector_)
 Constructor.
template<class Cell>
int integrationOrder (Cell const &cell, int shapeFunctionOrder) const
template<class Cell, class Index, class Sequence>
void operator() (Cell const &cell, Index idx, Dune::FieldVector< typename Cell::Geometry::ctype, Cell::dimension > const &xi, double weight, Sequence const &seq)
void join (ScaledTwoNorm2Collector const &c)
Collector const & data () const

Detailed Description

template<class Functions, class Scaling, class Collector>
class Kaskade::ScaledTwoNorm2Collector< Functions, Scaling, Collector >

A functor for computing scaled \(L^2\)-norms of a set of (possibly vector-valued) functions.

This is intended to be used with gridIterate. The plain \(L^2\)-norm is computed if the IdentityScaling is provided.

Definition at line 232 of file iterate_grid.hh.

Constructor & Destructor Documentation

◆ ScaledTwoNorm2Collector()

template<class Functions, class Scaling, class Collector>
Kaskade::ScaledTwoNorm2Collector< Functions, Scaling, Collector >::ScaledTwoNorm2Collector ( Scaling const & scaling_,
Collector & collector_ )
inline

Constructor.

Parameters
scaling
collector

Definition at line 242 of file iterate_grid.hh.

Referenced by join().

Member Function Documentation

◆ data()

template<class Functions, class Scaling, class Collector>
Collector const & Kaskade::ScaledTwoNorm2Collector< Functions, Scaling, Collector >::data ( ) const
inline

Definition at line 269 of file iterate_grid.hh.

Referenced by Kaskade::scaledTwoNormSquared().

◆ integrationOrder()

template<class Functions, class Scaling, class Collector>
template<class Cell>
int Kaskade::ScaledTwoNorm2Collector< Functions, Scaling, Collector >::integrationOrder ( Cell const & cell,
int shapeFunctionOrder ) const
inline

Definition at line 248 of file iterate_grid.hh.

◆ join()

template<class Functions, class Scaling, class Collector>
void Kaskade::ScaledTwoNorm2Collector< Functions, Scaling, Collector >::join ( ScaledTwoNorm2Collector< Functions, Scaling, Collector > const & c)
inline

Definition at line 264 of file iterate_grid.hh.

◆ operator()()

template<class Functions, class Scaling, class Collector>
template<class Cell, class Index, class Sequence>
void Kaskade::ScaledTwoNorm2Collector< Functions, Scaling, Collector >::operator() ( Cell const & cell,
Index idx,
Dune::FieldVector< typename Cell::Geometry::ctype, Cell::dimension > const & xi,
double weight,
Sequence const & seq )
inline

Definition at line 254 of file iterate_grid.hh.


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