|
dune-fem 2.8.0
|
#include <dune/fem/function/common/localcontribution.hh>

Public Types | |
| typedef DiscreteFunction | DiscreteFunctionType |
| typedef AssemblyOperation< typename DiscreteFunctionTraits< DiscreteFunctionType >::DiscreteFunctionType > | AssemblyOperationType |
| typedef DiscreteFunctionType::DiscreteFunctionSpaceType::BasisFunctionSetType | BasisFunctionSetType |
| typedef DiscreteFunctionType::DofType | DofType |
| typedef DiscreteFunctionType::RangeType | RangeType |
| typedef RangeType::field_type | RangeFieldType |
| typedef DiscreteFunctionType::JacobianRangeType | JacobianRangeType |
| typedef BaseType::LocalDofVectorType | LocalDofVectorType |
| typedef LocalDofVectorType::size_type | SizeType |
| typedef BasisFunctionSetType::EntityType | EntityType |
| typedef BasisFunctionSetType::FunctionSpaceType | FunctionSpaceType |
| type of functionspace | |
| typedef FunctionSpaceType::DomainFieldType | DomainFieldType |
| field type of the domain | |
| typedef FunctionSpaceType::DomainType | DomainType |
| type of domain vectors, i.e., type of coordinates | |
| typedef FunctionSpaceType::HessianRangeType | HessianRangeType |
| type of the Hessian | |
| typedef EntityType::Geometry::LocalCoordinate | LocalCoordinateType |
| type of local coordinates | |
Public Member Functions | |
| template<class... Args> | |
| LocalContribution (DiscreteFunctionType &discreteFunction, Args &&... args) | |
| LocalContribution (const ThisType &)=delete | |
| LocalContribution (ThisType &&)=delete | |
| ~LocalContribution () | |
| ThisType & | operator= (const ThisType &)=delete |
| ThisType & | operator= (ThisType &&)=delete |
| const DiscreteFunctionType & | discreteFunction () const |
| DiscreteFunctionType & | discreteFunction () |
| void | bind (const EntityType &entity) |
| void | unbind () |
| void | init (const EntityType &entity) |
| initialize the local function for an entity | |
| void | bind (const EntityType &entity) |
| initialize the local function for an entity | |
| template<class IntersectionType > | |
| void | bind (const IntersectionType &intersection, IntersectionSide side) |
| initialize the local function for an entity adjacent to the intersection | |
| const DiscreteFunctionSpaceType & | space () const |
| return discrete function space this local function belongs to | |
| const LocalDofVectorType & | localDofVector () const |
| return const reference to local Dof Vector | |
| LocalDofVectorType & | localDofVector () |
| return mutable reference to local Dof Vector | |
| const DofType & | operator[] (SizeType num) const |
| access to local dofs (read-only) | |
| DofType & | operator[] (SizeType num) |
| access to local dofs (read-write) | |
| void | assign (const LocalFunction< DiscreteFunctionSpace ::BasisFunctionSetType, T > &other) |
| assign all DoFs of this local function | |
| void | clear () |
| set all DoFs to zero | |
| void | axpy (const PointType &x, const RangeType &factor) |
| axpy operation for local function | |
| void | axpy (const PointType &x, const JacobianRangeType &factor) |
| axpy operation for local function | |
| void | axpy (const PointType &x, const HessianRangeType &factor) |
| void | axpy (const PointType &x, const RangeType &factor1, const JacobianRangeType &factor2) |
| axpy operation for local function | |
| int | order () const |
| obtain the order of this local function | |
| const BasisFunctionSetType & | basisFunctionSet () const |
| obtain the basis function set for this local function | |
| const EntityType & | entity () const |
| obtain the entity, this local function lives on | |
| void | evaluate (const PointType &x, RangeType &ret) const |
| evaluate the local function | |
| void | jacobian (const PointType &x, JacobianRangeType &ret) const |
| evaluate Jacobian of the local function | |
| void | hessian (const PointType &x, HessianRangeType &ret) const |
| evaluate Hessian of the local function | |
| int | numDofs () const |
| obtain the number of local DoFs | |
| SizeType | size () const |
| obtain the number of local DoFs | |
| void | axpyQuadrature (const QuadratureType &quad, const Vectors &... values) |
| evaluate all basisfunctions for all quadrature points, multiply with the given factor and add the result to the local coefficients | |
| 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 | |
| void | evaluateQuadrature (const QuadratureType &quad, Vectors &... vec) const |
| evaluate all basisfunctions for all quadrature points and store the results in the result vector | |
| void | jacobianQuadrature (const QuadratureType &quad, Vectors &... vec) const |
| evaluate all Jacobians for all basis functions for all quadrature points and store the results in the result vector | |
| void | hessianQuadrature (const QuadratureType &quad, Vectors &... vec) const |
| evaluate all hessians of all basis functions for all quadrature points and store the results in the result vector | |
| bool | valid () const |
| Returns true if local function if bind or init was previously called. | |
Static Public Attributes | |
| static const int | dimDomain |
| dimension of the domain | |
| static const int | dimRange |
| dimension of the range | |
Protected Member Functions | |
| void | init (const EntityType &entity) |
| initialize the local function for an entity | |
| void | init (const BasisFunctionSetType &basisFunctionSet) |
| initialize the local function for an basisFunctionSet | |
| void | evaluateQuadrature (const QuadratureType &quad, VectorType &result, const RangeType &) const |
| void | evaluateQuadrature (const QuadratureType &quad, VectorType &result, const JacobianRangeType &) const |
| void | evaluateQuadrature (const QuadratureType &quad, VectorType &result, const HessianRangeType &) const |
Protected Attributes | |
| DiscreteFunctionType & | discreteFunction_ |
| AssemblyOperationType | assemblyOperation_ |
| bool | bound_ |
| const DiscreteFunctionSpaceType & | dfSpace_ |
| BasisFunctionSetType | basisFunctionSet_ |
| LocalDofVectorType | localDofVector_ |
| typedef AssemblyOperation< typename DiscreteFunctionTraits< DiscreteFunctionType >::DiscreteFunctionType > Dune::Fem::LocalContribution< DiscreteFunction, AssemblyOperation, std::enable_if_t< std::is_base_of< Fem::IsDiscreteFunction, DiscreteFunction >::value > >::AssemblyOperationType |
| typedef DiscreteFunctionType::DiscreteFunctionSpaceType::BasisFunctionSetType Dune::Fem::LocalContribution< DiscreteFunction, AssemblyOperation, std::enable_if_t< std::is_base_of< Fem::IsDiscreteFunction, DiscreteFunction >::value > >::BasisFunctionSetType |
| typedef DiscreteFunction Dune::Fem::LocalContribution< DiscreteFunction, AssemblyOperation, std::enable_if_t< std::is_base_of< Fem::IsDiscreteFunction, DiscreteFunction >::value > >::DiscreteFunctionType |
| typedef DiscreteFunctionType::DofType Dune::Fem::LocalContribution< DiscreteFunction, AssemblyOperation, std::enable_if_t< std::is_base_of< Fem::IsDiscreteFunction, DiscreteFunction >::value > >::DofType |
|
inherited |
field type of the domain
|
inherited |
type of domain vectors, i.e., type of coordinates
| typedef BasisFunctionSetType::EntityType Dune::Fem::LocalContribution< DiscreteFunction, AssemblyOperation, std::enable_if_t< std::is_base_of< Fem::IsDiscreteFunction, DiscreteFunction >::value > >::EntityType |
|
inherited |
type of functionspace
|
inherited |
type of the Hessian
| typedef DiscreteFunctionType::JacobianRangeType Dune::Fem::LocalContribution< DiscreteFunction, AssemblyOperation, std::enable_if_t< std::is_base_of< Fem::IsDiscreteFunction, DiscreteFunction >::value > >::JacobianRangeType |
|
inherited |
type of local coordinates
| typedef BaseType::LocalDofVectorType Dune::Fem::LocalContribution< DiscreteFunction, AssemblyOperation, std::enable_if_t< std::is_base_of< Fem::IsDiscreteFunction, DiscreteFunction >::value > >::LocalDofVectorType |
| typedef RangeType::field_type Dune::Fem::LocalContribution< DiscreteFunction, AssemblyOperation, std::enable_if_t< std::is_base_of< Fem::IsDiscreteFunction, DiscreteFunction >::value > >::RangeFieldType |
| typedef DiscreteFunctionType::RangeType Dune::Fem::LocalContribution< DiscreteFunction, AssemblyOperation, std::enable_if_t< std::is_base_of< Fem::IsDiscreteFunction, DiscreteFunction >::value > >::RangeType |
| typedef LocalDofVectorType::size_type Dune::Fem::LocalContribution< DiscreteFunction, AssemblyOperation, std::enable_if_t< std::is_base_of< Fem::IsDiscreteFunction, DiscreteFunction >::value > >::SizeType |
|
inlineexplicit |
|
delete |
|
delete |
|
inline |
|
inlineinherited |
assign all DoFs of this local function
| [in] | lf | local function to assign DoFs from |
|
inlineinherited |
|
inlineinherited |
axpy operation for local function
Denoting the DoFs of the local function by 

![\[
u_i = u_i + factor \cdot \nabla\varphi_i( x )
\]](form_5.png)
| [in] | x | point to evaluate jacobian of basis functions in |
| [in] | factor | axpy factor |
|
inlineinherited |
axpy operation for local function
Denoting the DoFs of the local function by 

![\[
u_i = u_i + factor \cdot \varphi_i( x )
\]](form_4.png)
| [in] | x | point to evaluate basis functions in |
| [in] | factor | axpy factor |
|
inlineinherited |
axpy operation for local function
Denoting the DoFs of the local function by 

![\[
u_i = u_i + factor1 \cdot \varphi_i( x ) + factor2 \cdot \nabla\varphi_i( x )
\]](form_6.png)
| [in] | x | point to evaluate basis functions in |
| [in] | factor1 | axpy factor for ![]() |
| [in] | factor2 | axpy factor for ![]() |
|
inlineinherited |
evaluate all basisfunctions for all quadrature points, multiply with the given factor and add the result to the local coefficients
|
inlineinherited |
evaluate all basisfunctions for all quadrature points, multiply with the given factor and add the result to the local coefficients
|
inlineinherited |
obtain the basis function set for this local function
|
inline |
|
inlineinherited |
initialize the local function for an entity
Binds the local function to an entity.
| [in] | entity | entity to bind the local function to |
|
inlineinherited |
initialize the local function for an entity adjacent to the intersection
Binds the local function to an entity.
| [in] | intersection | to bind the local function to either inside or outside entity |
| [in] | side | side of intersection, i.e. in or out |
|
inlineinherited |
set all DoFs to zero
|
inline |
|
inline |
|
inlineinherited |
obtain the entity, this local function lives on
|
inlineinherited |
evaluate the local function
| [in] | x | evaluation point in local coordinates |
| [out] | ret | value of the function in the given point |
|
inlineinherited |
evaluate all basisfunctions for all quadrature points and store the results in the result vector
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
evaluate Hessian of the local function
| [in] | x | evaluation point in local coordinates |
| [out] | ret | Hessian of the function in the evaluation point |
|
inlineinherited |
evaluate all hessians of all basis functions for all quadrature points and store the results in the result vector
|
inlineprotectedinherited |
initialize the local function for an basisFunctionSet
Binds the local function to an basisFunctionSet and entity.
| [in] | basisFunctionSet | to bind the local function to |
|
inlineprotectedinherited |
initialize the local function for an entity
Binds the local function to an basisFunctionSet and entity.
| [in] | entity | to bind the local function to |
|
inlineinherited |
initialize the local function for an entity
Binds the local function to an entity.
| [in] | entity | entity to bind the local function to |
|
inlineinherited |
evaluate Jacobian of the local function
| [in] | x | evaluation point in local coordinates |
| [out] | ret | Jacobian of the function in the evaluation point |
|
inlineinherited |
evaluate all Jacobians for all basis functions for all quadrature points and store the results in the result vector
|
inlineinherited |
return mutable reference to local Dof Vector
|
inlineinherited |
return const reference to local Dof Vector
|
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.
|
delete |
|
delete |
|
inlineinherited |
access to local dofs (read-write)
| [in] | num | local DoF number |
|
inlineinherited |
access to local dofs (read-only)
| [in] | num | local dof number |
|
inlineinherited |
obtain the order of this local function
The order of a local function refers to the polynomial order required to integrate it exactly.
|
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.
|
inlineinherited |
return discrete function space this local function belongs to
|
inline |
|
inlineinherited |
Returns true if local function if bind or init was previously called.
|
protected |
|
protectedinherited |
|
protected |
|
protectedinherited |
|
staticinherited |
dimension of the domain
|
staticinherited |
dimension of the range
|
protected |
|
protectedinherited |