dune-fem  2.4.1-rc
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector > Class Template Reference

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/function/localfunction/const.hh>

Inheritance diagram for Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector >:
Inheritance graph

Public Types

typedef BaseType::DofType DofType
 type of Dof More...
 
typedef BaseType::EntityType EntityType
 type of Entity More...
 
typedef BaseType::BasisFunctionSetType BasisFunctionSetType
 type of BasisFunctionSet More...
 
typedef BaseType::LocalDofVectorType LocalDofVectorType
 type of LocalDofVector More...
 
typedef BaseType::SizeType SizeType
 type of SizeType More...
 
typedef BasisFunctionSetType::FunctionSpaceType FunctionSpaceType
 type of functionspace More...
 
typedef FunctionSpaceType::DomainFieldType DomainFieldType
 field type of the domain More...
 
typedef FunctionSpaceType::RangeFieldType RangeFieldType
 field type of the range More...
 
typedef FunctionSpaceType::DomainType DomainType
 type of domain vectors, i.e., type of coordinates More...
 
typedef FunctionSpaceType::RangeType RangeType
 type of range vectors, i.e., type of function values More...
 
typedef FunctionSpaceType::JacobianRangeType JacobianRangeType
 type of the Jacobian, i.e., type of evaluated Jacobian matrix More...
 
typedef FunctionSpaceType::HessianRangeType HessianRangeType
 type of the Hessian More...
 
typedef EntityType::Geometry::LocalCoordinate LocalCoordinateType
 type of local coordinates More...
 

Public Member Functions

 BasicConstLocalFunction ()
 default ctor More...
 
 BasicConstLocalFunction (const BasisFunctionSetType &basisFunctionSet)
 
 BasicConstLocalFunction (const LocalDofVectorType &localDofVector)
 
 BasicConstLocalFunction (const BasisFunctionSetType &basisFunctionSet, const LocalDofVectorType &localDofVector)
 
 BasicConstLocalFunction (LocalDofVectorType &&localDofVector)
 
 BasicConstLocalFunction (const BasisFunctionSetType &basisFunctionSet, LocalDofVectorType &&localDofVector)
 
 BasicConstLocalFunction (const BaseType &other)
 
 BasicConstLocalFunction (const ThisType &other)
 
 BasicConstLocalFunction (ThisType &&other)
 
const DofTypeoperator[] (SizeType num) const
 access to local dofs (read-only) More...
 
template<class T >
ThisTypeoperator+= (const LocalFunction< BasisFunctionSet, T > &other)
 add another local function to this one More...
 
template<class T >
void assign (const LocalFunction< BasisFunctionSet, T > &other)
 assign all DoFs of this local function More...
 
void clear ()
 set all DoFs to zero More...
 
template<class T >
ThisTypeoperator-= (const LocalFunction< BasisFunctionSet, T > &other)
 subtract another local function to this one More...
 
template<class T >
ThisTypeaxpy (const RangeFieldType s, const LocalFunction< BasisFunctionSet, T > &other)
 add a multiple of another local function to this one More...
 
template<class PointType >
void axpy (const PointType &x, const RangeType &factor)
 axpy operation for local function More...
 
template<class PointType >
void axpy (const PointType &x, const JacobianRangeType &factor)
 axpy operation for local function More...
 
template<class PointType >
void axpy (const PointType &x, const RangeType &factor1, const JacobianRangeType &factor2)
 axpy operation for local function More...
 
int order () const
 obtain the order of this local function More...
 
const BasisFunctionSetTypebasisFunctionSet () const
 obtain the basis function set for this local function More...
 
const EntityTypeentity () const
 obtain the entity, this local function lives on More...
 
void init (const BasisFunctionSetType &basisFunctionSet)
 
template<class PointType >
void evaluate (const PointType &x, RangeType &ret) const
 evaluate the local function More...
 
template<class PointType >
void jacobian (const PointType &x, JacobianRangeType &ret) const
 evaluate Jacobian of the local function More...
 
template<class PointType >
void hessian (const PointType &x, HessianRangeType &ret) const
 evaluate Hessian of the local function More...
 
int numDofs () const
 obtain the number of local DoFs More...
 
SizeType size () const
 
int numScalarDofs () const
 obtain the number of local DoFs in the scalar case More...
 
template<class QuadratureType , class VectorType >
void axpyQuadrature (const QuadratureType &quad, const VectorType &values)
 evaluate all basisfunctions for all quadrature points, multiply with the given factor and add the result to the local coefficients More...
 
template<class QuadratureType , class RangeVectorType , class JacobianRangeVectorType >
void axpyQuadrature (const QuadratureType &quad, const RangeVectorType &rangeVector, const JacobianRangeVectorType &jacobianVector)
 evaluate all basisfunctions for all quadrature points, multiply with the given factor and add the result to the local coefficients More...
 
template<class QuadratureType , class VectorType >
void evaluateQuadrature (const QuadratureType &quad, VectorType &result) const
 evaluate all basisfunctions for all quadrature points and store the results in the result vector More...
 
const LocalDofVectorTypelocalDofVector () const
 return const reference to local Dof Vector More...
 
LocalDofVectorTypelocalDofVector ()
 return mutable reference to local Dof Vector More...
 

Static Public Attributes

static const int dimDomain = FunctionSpaceType::dimDomain
 dimension of the domain More...
 
static const int dimRange = FunctionSpaceType::dimRange
 dimension of the range More...
 

Protected Member Functions

DofTypeoperator[] (SizeType num)
 
template<class QuadratureType , class VectorType >
void evaluateQuadrature (const QuadratureType &quad, VectorType &result, const RangeType &) const
 
template<class QuadratureType , class VectorType >
void evaluateQuadrature (const QuadratureType &quad, VectorType &result, const JacobianRangeType &) const
 

Protected Attributes

BasisFunctionSetType basisFunctionSet_
 
LocalDofVectorType localDofVector_
 

Member Typedef Documentation

template<class BasisFunctionSet, class LocalDofVector>
typedef BaseType :: BasisFunctionSetType Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector >::BasisFunctionSetType
template<class BasisFunctionSet, class LocalDofVector>
typedef BaseType::DofType Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector >::DofType

type of Dof

template<class BasisFunctionSet, class LocalDofVector>
typedef FunctionSpaceType::DomainFieldType Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::DomainFieldType
inherited

field type of the domain

template<class BasisFunctionSet, class LocalDofVector>
typedef FunctionSpaceType::DomainType Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::DomainType
inherited

type of domain vectors, i.e., type of coordinates

template<class BasisFunctionSet, class LocalDofVector>
typedef BaseType :: EntityType Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector >::EntityType

type of Entity

template<class BasisFunctionSet, class LocalDofVector>
typedef BasisFunctionSetType::FunctionSpaceType Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::FunctionSpaceType
inherited

type of functionspace

template<class BasisFunctionSet, class LocalDofVector>
typedef FunctionSpaceType::HessianRangeType Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::HessianRangeType
inherited

type of the Hessian

template<class BasisFunctionSet, class LocalDofVector>
typedef FunctionSpaceType::JacobianRangeType Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::JacobianRangeType
inherited

type of the Jacobian, i.e., type of evaluated Jacobian matrix

template<class BasisFunctionSet, class LocalDofVector>
typedef EntityType::Geometry::LocalCoordinate Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::LocalCoordinateType
inherited

type of local coordinates

template<class BasisFunctionSet, class LocalDofVector>
typedef BaseType :: LocalDofVectorType Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector >::LocalDofVectorType

type of LocalDofVector

template<class BasisFunctionSet, class LocalDofVector>
typedef FunctionSpaceType::RangeFieldType Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::RangeFieldType
inherited

field type of the range

template<class BasisFunctionSet, class LocalDofVector>
typedef FunctionSpaceType::RangeType Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::RangeType
inherited

type of range vectors, i.e., type of function values

template<class BasisFunctionSet, class LocalDofVector>
typedef BaseType::SizeType Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector >::SizeType

type of SizeType

Constructor & Destructor Documentation

template<class BasisFunctionSet, class LocalDofVector>
Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector >::BasicConstLocalFunction ( )
inline

default ctor

template<class BasisFunctionSet, class LocalDofVector>
Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector >::BasicConstLocalFunction ( const BasisFunctionSetType basisFunctionSet)
inlineexplicit
template<class BasisFunctionSet, class LocalDofVector>
Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector >::BasicConstLocalFunction ( const LocalDofVectorType localDofVector)
inlineexplicit
template<class BasisFunctionSet, class LocalDofVector>
Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector >::BasicConstLocalFunction ( const BasisFunctionSetType basisFunctionSet,
const LocalDofVectorType localDofVector 
)
inline
template<class BasisFunctionSet, class LocalDofVector>
Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector >::BasicConstLocalFunction ( LocalDofVectorType &&  localDofVector)
inlineexplicit
template<class BasisFunctionSet, class LocalDofVector>
Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector >::BasicConstLocalFunction ( const BasisFunctionSetType basisFunctionSet,
LocalDofVectorType &&  localDofVector 
)
inline
template<class BasisFunctionSet, class LocalDofVector>
Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector >::BasicConstLocalFunction ( const BaseType other)
inline
template<class BasisFunctionSet, class LocalDofVector>
Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector >::BasicConstLocalFunction ( const ThisType other)
inline
template<class BasisFunctionSet, class LocalDofVector>
Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector >::BasicConstLocalFunction ( ThisType &&  other)
inline

Member Function Documentation

template<class BasisFunctionSet, class LocalDofVector>
template<class T >
void Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::assign ( const LocalFunction< BasisFunctionSet, T > &  other)
inlineinherited
template<class BasisFunctionSet, class LocalDofVector>
template<class T >
ThisType& Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::axpy ( const RangeFieldType  s,
const LocalFunction< BasisFunctionSet, T > &  other 
)
inlineinherited
template<class BasisFunctionSet, class LocalDofVector>
template<class PointType >
void Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::axpy ( const PointType &  x,
const RangeType factor 
)
inlineinherited

axpy operation for local function

Denoting the DoFs of the local function by $u_i$ and the basis functions by $\varphi_i$, this function performs the following operation:

\[ u_i = u_i + factor \cdot \varphi_i( x ) \]

Parameters
[in]xpoint to evaluate basis functions in
[in]factoraxpy factor
template<class BasisFunctionSet, class LocalDofVector>
template<class PointType >
void Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::axpy ( const PointType &  x,
const JacobianRangeType factor 
)
inlineinherited

axpy operation for local function

Denoting the DoFs of the local function by $u_i$ and the basis functions by $\varphi_i$, this function performs the following operation:

\[ u_i = u_i + factor \cdot \nabla\varphi_i( x ) \]

Parameters
[in]xpoint to evaluate jacobian of basis functions in
[in]factoraxpy factor
template<class BasisFunctionSet, class LocalDofVector>
template<class PointType >
void Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::axpy ( const PointType &  x,
const RangeType factor1,
const JacobianRangeType factor2 
)
inlineinherited

axpy operation for local function

Denoting the DoFs of the local function by $u_i$ and the basis functions by $\varphi_i$, this function performs the following operation:

\[ u_i = u_i + factor1 \cdot \varphi_i( x ) + factor2 \cdot \nabla\varphi_i( x ) \]

Parameters
[in]xpoint to evaluate basis functions in
[in]factor1axpy factor for $\varphi( x )$
[in]factor2axpy factor for $\nabla\varphi( x )$
template<class BasisFunctionSet, class LocalDofVector>
template<class QuadratureType , class VectorType >
void Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::axpyQuadrature ( const QuadratureType &  quad,
const VectorType &  values 
)
inlineinherited

evaluate all basisfunctions for all quadrature points, multiply with the given factor and add the result to the local coefficients

Referenced by Dune::Fem::LocalDGPass< DiscreteModelImp, PreviousPassImp >::applyLocal().

template<class BasisFunctionSet, class LocalDofVector>
template<class QuadratureType , class RangeVectorType , class JacobianRangeVectorType >
void Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::axpyQuadrature ( const QuadratureType &  quad,
const RangeVectorType &  rangeVector,
const JacobianRangeVectorType &  jacobianVector 
)
inlineinherited

evaluate all basisfunctions for all quadrature points, multiply with the given factor and add the result to the local coefficients

template<class BasisFunctionSet, class LocalDofVector>
const BasisFunctionSetType& Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::basisFunctionSet ( ) const
inlineinherited

obtain the basis function set for this local function

Returns
reference to the basis function set

Referenced by Dune::Fem::LocalMassMatrixImplementation< DiscreteFunctionSpaceType, QuadratureType >::applyInverseDefault(), Dune::Fem::LocalMassMatrixImplementation< DiscreteFunctionSpaceType, QuadratureType >::applyInverseDgOrthoNormalBasis(), Dune::Fem::LocalMassMatrixImplementation< DiscreteFunctionSpaceType, QuadratureType >::applyInverseLocally(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::axpy(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::axpyQuadrature(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::entity(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::evaluate(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::evaluateQuadrature(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::hessian(), Dune::Fem::ConstLocalFunction< DiscreteFunction >::init(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::init(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::jacobian(), and Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::order().

template<class BasisFunctionSet, class LocalDofVector>
void Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::clear ( )
inlineinherited
template<class BasisFunctionSet, class LocalDofVector>
const EntityType& Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::entity ( ) const
inlineinherited
template<class BasisFunctionSet, class LocalDofVector>
template<class PointType >
void Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::evaluate ( const PointType &  x,
RangeType ret 
) const
inlineinherited
template<class BasisFunctionSet, class LocalDofVector>
template<class QuadratureType , class VectorType >
void Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::evaluateQuadrature ( const QuadratureType &  quad,
VectorType &  result 
) const
inlineinherited
template<class BasisFunctionSet, class LocalDofVector>
template<class QuadratureType , class VectorType >
void Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::evaluateQuadrature ( const QuadratureType &  quad,
VectorType &  result,
const RangeType  
) const
inlineprotectedinherited
template<class BasisFunctionSet, class LocalDofVector>
template<class QuadratureType , class VectorType >
void Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::evaluateQuadrature ( const QuadratureType &  quad,
VectorType &  result,
const JacobianRangeType  
) const
inlineprotectedinherited
template<class BasisFunctionSet, class LocalDofVector>
template<class PointType >
void Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::hessian ( const PointType &  x,
HessianRangeType ret 
) const
inlineinherited

evaluate Hessian of the local function

Note
Though the Hessian is evaluated on the reference element, the return value is the Hessian with respect to the actual entity.
Parameters
[in]xevaluation point in local coordinates
[out]retHessian of the function in the evaluation point
template<class BasisFunctionSet, class LocalDofVector>
void Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::init ( const BasisFunctionSetType basisFunctionSet)
inlineinherited
template<class BasisFunctionSet, class LocalDofVector>
template<class PointType >
void Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::jacobian ( const PointType &  x,
JacobianRangeType ret 
) const
inlineinherited

evaluate Jacobian of the local function

Note
Though the Jacobian is evaluated on the reference element, the return value is the Jacobian with respect to the actual entity.
Parameters
[in]xevaluation point in local coordinates
[out]retJacobian of the function in the evaluation point
template<class BasisFunctionSet, class LocalDofVector>
const LocalDofVectorType& Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::localDofVector ( ) const
inlineinherited

return const reference to local Dof Vector

Referenced by Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::assign(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::axpy(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::axpyQuadrature(), Dune::Fem::BasicConstLocalFunction< DiscreteFunctionTraits< std::remove_const< DiscreteFunction >::type >::DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< DiscreteFunctionTraits< std::remove_const< DiscreteFunction >::type >::DofType, DiscreteFunctionTraits< std::remove_const< DiscreteFunction >::type >::LocalDofVectorAllocatorType::template rebind< DiscreteFunctionTraits< std::remove_const< DiscreteFunction >::type >::DofType >::other > >::BasicConstLocalFunction(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::clear(), Dune::Fem::ConstLocalFunction< DiscreteFunction >::ConstLocalFunction(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::evaluate(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::evaluateQuadrature(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::hessian(), Dune::Fem::ConstLocalFunction< DiscreteFunction >::init(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::jacobian(), Dune::Fem::MutableLocalFunction< DiscreteFunction >::MutableLocalFunction(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::numDofs(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::operator+=(), Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::operator-=(), and Dune::Fem::LocalFunction< DiscreteFunctionSpaceType::BasisFunctionSetType, Dune::DynamicVector< typename DiscreteFunctionSpaceType::RangeFieldType > >::size().

template<class BasisFunctionSet, class LocalDofVector>
LocalDofVectorType& Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::localDofVector ( )
inlineinherited

return mutable reference to local Dof Vector

template<class BasisFunctionSet, class LocalDofVector>
int Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::numDofs ( ) const
inlineinherited
template<class BasisFunctionSet, class LocalDofVector>
int Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::numScalarDofs ( ) const
inlineinherited

obtain the number of local DoFs in the scalar case

Obtain the number of local DoFs of the scalar case of this local function. The value is identical to the number of basis functons on the entity.

Returns
number of local DoFs, scalar case
template<class BasisFunctionSet, class LocalDofVector>
template<class T >
ThisType& Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::operator+= ( const LocalFunction< BasisFunctionSet, T > &  other)
inlineinherited

add another local function to this one

Note
The local function to add may be any implementation of a LocalFunction.
Parameters
[in]lflocal function to add
Returns
a reference to this local function (i.e., *this)
template<class BasisFunctionSet, class LocalDofVector>
template<class T >
ThisType& Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::operator-= ( const LocalFunction< BasisFunctionSet, T > &  other)
inlineinherited

subtract another local function to this one

Note
The local function to suctract may be any implementation of a LocalFunction.
Parameters
[in]lflocal function to subtract
Returns
a reference to this local function (i.e., *this)
template<class BasisFunctionSet, class LocalDofVector>
DofType& Dune::Fem::BasicConstLocalFunction< BasisFunctionSet, LocalDofVector >::operator[] ( SizeType  num)
inlineprotected
template<class BasisFunctionSet, class LocalDofVector>
const DofType& Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::operator[] ( SizeType  num) const
inlineinherited

access to local dofs (read-only)

Parameters
[in]numlocal dof number
Returns
reference to dof
template<class BasisFunctionSet, class LocalDofVector>
int Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::order ( ) const
inlineinherited

obtain the order of this local function

The order of a local function refers to the polynomial order required to integrate it exactly.

Note
It is not completely clear what this value should be, e.g., for bilinear basis functions.
Returns
order of the local function

Referenced by Dune::Fem::LocalAverageImpl< LocalFunction, GridPart, DiscreteFunctionSpace >::apply(), Dune::Fem::LocalAverageImpl< LocalFunction, GridPart, DiscontinuousGalerkinSpace< FunctionSpace, GridPart, order, Storage > >::apply(), Dune::Fem::DefaultLocalL2Projection< LocalRieszProjectionType, Quadrature >::apply(), and Dune::Fem::DiscontinuousGalerkinLocalInterpolation< DiscreteFunctionSpace, Quadrature >::operator()().

template<class BasisFunctionSet, class LocalDofVector>
SizeType Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::size ( ) const
inlineinherited

Member Data Documentation

template<class BasisFunctionSet, class LocalDofVector>
BasisFunctionSetType Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::basisFunctionSet_
protectedinherited
template<class BasisFunctionSet, class LocalDofVector>
const int Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::dimDomain = FunctionSpaceType::dimDomain
staticinherited

dimension of the domain

template<class BasisFunctionSet, class LocalDofVector>
const int Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::dimRange = FunctionSpaceType::dimRange
staticinherited
template<class BasisFunctionSet, class LocalDofVector>
LocalDofVectorType Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::localDofVector_
protectedinherited

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