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::MutableLocalFunction< DiscreteFunction > Class Template Reference

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

Inheritance diagram for Dune::Fem::MutableLocalFunction< DiscreteFunction >:
Inheritance graph

Public Types

typedef DiscreteFunction DiscreteFunctionType
 type of DiscreteFunction More...
 
typedef BaseType::EntityType EntityType
 type of the entity, the local function lives on is given by the space More...
 
typedef BaseType::LocalDofVectorType LocalDofVectorType
 type of local Dof vector object More...
 
typedef BaseType::BasisFunctionSetType BasisFunctionSetType
 type of BasisFunctionSet More...
 
typedef LocalDofVectorType::value_type DofType
 type of DoF use with the discrete function More...
 
typedef LocalDofVectorType::size_type SizeType
 type of index 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

 MutableLocalFunction (const ConstLocalFunction< DiscreteFunctionType > &constLocalFunction)
 cast from ConstLocalFunction More...
 
 MutableLocalFunction (DiscreteFunctionType &discreteFunction)
 Constructor creating empty local function from given discrete function. More...
 
 MutableLocalFunction (const DiscreteFunctionType &discreteFunction)
 Constructor creating empty local function from given discrete function. More...
 
 MutableLocalFunction (DiscreteFunctionType &discreteFunction, const EntityType &entity)
 Constructor creating local function from given discrete function and entity, not empty. More...
 
 MutableLocalFunction (const DiscreteFunctionType &dFunction, const EntityType &entity)
 Constructor creating local function from given discrete function and entity, not empty. More...
 
 MutableLocalFunction (const ThisType &other)
 copy constructor More...
 
 MutableLocalFunction (ThisType &&other)
 move constructor More...
 
ThisTypeoperator= (const ThisType &)=delete
 
ThisTypeoperator= (ThisType &&)=delete
 
void init (const EntityType &entity)
 
const DiscreteFunctionTypediscreteFunction () const
 
DiscreteFunctionTypediscreteFunction ()
 
const DofTypeoperator[] (SizeType num) const
 access to local dofs (read-only) More...
 
DofTypeoperator[] (SizeType num)
 access to local dofs (read-write) More...
 
ThisTypeoperator+= (const LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType, T > &other)
 add another local function to this one More...
 
void assign (const LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType, T > &other)
 assign all DoFs of this local function More...
 
void clear ()
 set all DoFs to zero More...
 
ThisTypeoperator-= (const LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType, T > &other)
 subtract another local function to this one More...
 
ThisTypeaxpy (const RangeFieldType s, const LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType, T > &other)
 add a multiple of another local function to this one More...
 
void axpy (const PointType &x, const RangeType &factor)
 axpy operation for local function More...
 
void axpy (const PointType &x, const JacobianRangeType &factor)
 axpy operation for local function More...
 
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)
 
void evaluate (const PointType &x, RangeType &ret) const
 evaluate the local function More...
 
void jacobian (const PointType &x, JacobianRangeType &ret) const
 evaluate Jacobian of the local function More...
 
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...
 
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...
 
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...
 
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
 dimension of the domain More...
 
static const int dimRange
 dimension of the range More...
 

Protected Member Functions

void evaluateQuadrature (const QuadratureType &quad, VectorType &result, const RangeType &) const
 
void evaluateQuadrature (const QuadratureType &quad, VectorType &result, const JacobianRangeType &) const
 

Protected Attributes

BasisFunctionSetType basisFunctionSet_
 
LocalDofVectorType localDofVector_
 

Detailed Description

template<class DiscreteFunction>
class Dune::Fem::MutableLocalFunction< DiscreteFunction >

Manages the getting and deleting of local function pointers and acts like a local functions

Member Typedef Documentation

template<class DiscreteFunction >
typedef BaseType::BasisFunctionSetType Dune::Fem::MutableLocalFunction< DiscreteFunction >::BasisFunctionSetType
template<class DiscreteFunction >
typedef DiscreteFunction Dune::Fem::MutableLocalFunction< DiscreteFunction >::DiscreteFunctionType

type of DiscreteFunction

typedef LocalDofVectorType::value_type Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::DofType
inherited

type of DoF use with the discrete function

typedef FunctionSpaceType::DomainFieldType Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::DomainFieldType
inherited

field type of the domain

typedef FunctionSpaceType::DomainType Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::DomainType
inherited

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

template<class DiscreteFunction >
typedef BaseType::EntityType Dune::Fem::MutableLocalFunction< DiscreteFunction >::EntityType

type of the entity, the local function lives on is given by the space

typedef BasisFunctionSetType::FunctionSpaceType Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::FunctionSpaceType
inherited

type of functionspace

typedef FunctionSpaceType::HessianRangeType Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::HessianRangeType
inherited

type of the Hessian

typedef FunctionSpaceType::JacobianRangeType Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::JacobianRangeType
inherited

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

typedef EntityType::Geometry::LocalCoordinate Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::LocalCoordinateType
inherited

type of local coordinates

template<class DiscreteFunction >
typedef BaseType::LocalDofVectorType Dune::Fem::MutableLocalFunction< DiscreteFunction >::LocalDofVectorType

type of local Dof vector object

typedef FunctionSpaceType::RangeFieldType Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::RangeFieldType
inherited

field type of the range

typedef FunctionSpaceType::RangeType Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::RangeType
inherited

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

typedef LocalDofVectorType::size_type Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::SizeType
inherited

type of index

Constructor & Destructor Documentation

template<class DiscreteFunction >
Dune::Fem::MutableLocalFunction< DiscreteFunction >::MutableLocalFunction ( const ConstLocalFunction< DiscreteFunctionType > &  constLocalFunction)
inline
template<class DiscreteFunction >
Dune::Fem::MutableLocalFunction< DiscreteFunction >::MutableLocalFunction ( DiscreteFunctionType discreteFunction)
inlineexplicit

Constructor creating empty local function from given discrete function.

template<class DiscreteFunction >
Dune::Fem::MutableLocalFunction< DiscreteFunction >::MutableLocalFunction ( const DiscreteFunctionType discreteFunction)
inlineexplicit

Constructor creating empty local function from given discrete function.

template<class DiscreteFunction >
Dune::Fem::MutableLocalFunction< DiscreteFunction >::MutableLocalFunction ( DiscreteFunctionType discreteFunction,
const EntityType entity 
)
inlineexplicit
template<class DiscreteFunction >
Dune::Fem::MutableLocalFunction< DiscreteFunction >::MutableLocalFunction ( const DiscreteFunctionType dFunction,
const EntityType entity 
)
inlineexplicit
template<class DiscreteFunction >
Dune::Fem::MutableLocalFunction< DiscreteFunction >::MutableLocalFunction ( const ThisType other)
inline

copy constructor

template<class DiscreteFunction >
Dune::Fem::MutableLocalFunction< DiscreteFunction >::MutableLocalFunction ( ThisType &&  other)
inline

Member Function Documentation

void Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::assign ( const LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , T > &  other)
inlineinherited

assign all DoFs of this local function

Parameters
[in]lflocal function to assign DoFs from
ThisType& Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::axpy ( const RangeFieldType  s,
const LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , T > &  other 
)
inlineinherited

add a multiple of another local function to this one

Note
The local function to add may be any implementation of a LocalFunction.
Parameters
[in]sscalar factor to scale lf with
[in]lflocal function to add
Returns
a reference to this local function (i.e., *this)
void Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::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
void Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::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
void Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::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 )$
void Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::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

void Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::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

const BasisFunctionSetType& Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::basisFunctionSet ( ) const
inlineinherited

obtain the basis function set for this local function

Returns
reference to the basis function set

Referenced by Dune::Fem::MutableLocalFunction< DiscreteFunction >::init().

void Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::clear ( )
inlineinherited

set all DoFs to zero

template<class DiscreteFunction >
const DiscreteFunctionType& Dune::Fem::MutableLocalFunction< DiscreteFunction >::discreteFunction ( ) const
inline
template<class DiscreteFunction >
DiscreteFunctionType& Dune::Fem::MutableLocalFunction< DiscreteFunction >::discreteFunction ( )
inline
const EntityType& Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::entity ( ) const
inlineinherited

obtain the entity, this local function lives on

Returns
reference to the entity
void Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::evaluate ( const PointType &  x,
RangeType ret 
) const
inlineinherited

evaluate the local function

Parameters
[in]xevaluation point in local coordinates
[out]retvalue of the function in the given point
void Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::evaluateQuadrature ( const QuadratureType &  quad,
VectorType &  result 
) const
inlineinherited

evaluate all basisfunctions for all quadrature points and store the results in the result vector

void Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::evaluateQuadrature ( const QuadratureType &  quad,
VectorType &  result,
const RangeType  
) const
inlineprotectedinherited
void Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::evaluateQuadrature ( const QuadratureType &  quad,
VectorType &  result,
const JacobianRangeType  
) const
inlineprotectedinherited
void Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::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 DiscreteFunction >
void Dune::Fem::MutableLocalFunction< DiscreteFunction >::init ( const EntityType entity)
inline
void Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::init ( const BasisFunctionSetType basisFunctionSet)
inlineinherited
Todo:
please doc me
void Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::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
const LocalDofVectorType& Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::localDofVector ( ) const
inlineinherited
LocalDofVectorType& Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::localDofVector ( )
inlineinherited

return mutable reference to local Dof Vector

int Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::numDofs ( ) const
inlineinherited

obtain the number of local DoFs

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

Returns
number of local DoFs
int Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::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
ThisType& Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::operator+= ( const LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , 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)
ThisType& Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::operator-= ( const LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , 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 DiscreteFunction >
ThisType& Dune::Fem::MutableLocalFunction< DiscreteFunction >::operator= ( const ThisType )
delete
template<class DiscreteFunction >
ThisType& Dune::Fem::MutableLocalFunction< DiscreteFunction >::operator= ( ThisType &&  )
delete
const DofType& Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::operator[] ( SizeType  num) const
inlineinherited

access to local dofs (read-only)

Parameters
[in]numlocal dof number
Returns
reference to dof
DofType& Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::operator[] ( SizeType  num)
inlineinherited

access to local dofs (read-write)

Parameters
[in]numlocal DoF number
Returns
reference to DoF
int Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::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
SizeType Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::size ( ) const
inlineinherited

Member Data Documentation

BasisFunctionSetType Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::basisFunctionSet_
protectedinherited
const int Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::dimDomain
staticinherited

dimension of the domain

const int Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::dimRange
staticinherited

dimension of the range

LocalDofVectorType Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType , DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::localDofVector_
protectedinherited

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