dune-fem
2.4.1-rc
|
The L2Projection class provides methods for projecting a function unto a given discrete function space. Note that this implementation assumes orthogonal base functions! More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/operator/projection/l2projection.hh>
Public Types | |
typedef DType | DomainType |
domain function type More... | |
typedef RType | RangeType |
range function type More... | |
typedef DType | DomainFunctionType |
type of discrete function in the operator's domain More... | |
typedef RType | RangeFunctionType |
type of discrete function in the operator's range More... | |
typedef DType::RangeFieldType | DomainFieldType |
field type of the operator's domain More... | |
typedef RType::RangeFieldType | RangeFieldType |
field type of the operator's range More... | |
Public Member Functions | |
L2Projection (const int quadOrder=-1, const bool doCommunicate=true) | |
Constructor. More... | |
virtual void | operator() (const DomainType &function, RangeType &discreteFunction) const |
calculates the L2 projection of a function onto the discrete space discreteFunction belongs to. More... | |
Protected Attributes | |
const int | quadOrder_ |
const bool | doCommunicate_ |
The L2Projection class provides methods for projecting a function unto a given discrete function space. Note that this implementation assumes orthogonal base functions!
|
inherited |
field type of the operator's domain
|
inherited |
type of discrete function in the operator's domain
typedef DType Dune::Fem::L2Projection< DType, RType >::DomainType |
domain function type
|
inherited |
field type of the operator's range
|
inherited |
type of discrete function in the operator's range
typedef RType Dune::Fem::L2Projection< DType, RType >::RangeType |
range function type
|
inlineexplicit |
Constructor.
quadOrder | degree for quadrature rule (default = 2*space.order()) |
doCommunicate | apply communication for the result (default = true) |
|
inlinevirtual |
calculates the L2 projection of a function onto the discrete space discreteFunction belongs to.
function | function to be projected |
discreteFunction | discrete result of projection |
Implements Dune::Fem::Operator< DType, RType >.
References Dune::Fem::L2Projection< DType, RType >::doCommunicate_, Dune::Fem::DGL2ProjectionImpl::project(), and Dune::Fem::L2Projection< DType, RType >::quadOrder_.
|
protected |
Referenced by Dune::Fem::L2Projection< DType, RType >::operator()().
|
protected |
Referenced by Dune::Fem::L2Projection< DType, RType >::operator()().