dune-fem
2.4.1-rc
|
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/function/localfunction/const.hh>
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... | |
ThisType & | operator= (const ThisType &)=delete |
ThisType & | operator= (ThisType &&)=delete |
void | init (const EntityType &entity) |
const DiscreteFunctionType & | discreteFunction () const |
DiscreteFunctionType & | discreteFunction () |
const DofType & | operator[] (SizeType num) const |
access to local dofs (read-only) More... | |
DofType & | operator[] (SizeType num) |
access to local dofs (read-write) More... | |
ThisType & | operator+= (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... | |
ThisType & | operator-= (const LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType, T > &other) |
subtract another local function to this one More... | |
ThisType & | axpy (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 BasisFunctionSetType & | basisFunctionSet () const |
obtain the basis function set for this local function More... | |
const EntityType & | entity () 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 LocalDofVectorType & | localDofVector () const |
return const reference to local Dof Vector More... | |
LocalDofVectorType & | localDofVector () |
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_ |
Manages the getting and deleting of local function pointers and acts like a local functions
typedef BaseType::BasisFunctionSetType Dune::Fem::MutableLocalFunction< DiscreteFunction >::BasisFunctionSetType |
type of BasisFunctionSet
typedef DiscreteFunction Dune::Fem::MutableLocalFunction< DiscreteFunction >::DiscreteFunctionType |
type of DiscreteFunction
|
inherited |
type of DoF use with the discrete function
|
inherited |
field type of the domain
|
inherited |
type of domain vectors, i.e., type of coordinates
typedef BaseType::EntityType Dune::Fem::MutableLocalFunction< DiscreteFunction >::EntityType |
type of the entity, the local function lives on is given by the space
|
inherited |
type of functionspace
|
inherited |
type of the Hessian
|
inherited |
type of the Jacobian, i.e., type of evaluated Jacobian matrix
|
inherited |
type of local coordinates
typedef BaseType::LocalDofVectorType Dune::Fem::MutableLocalFunction< DiscreteFunction >::LocalDofVectorType |
type of local Dof vector object
|
inherited |
field type of the range
|
inherited |
type of range vectors, i.e., type of function values
|
inherited |
type of index
|
inline |
cast from ConstLocalFunction
References Dune::Fem::MutableLocalFunction< DiscreteFunction >::discreteFunction(), and Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType, DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::localDofVector().
|
inlineexplicit |
Constructor creating empty local function from given discrete function.
|
inlineexplicit |
Constructor creating empty local function from given discrete function.
|
inlineexplicit |
Constructor creating local function from given discrete function and entity, not empty.
|
inlineexplicit |
Constructor creating local function from given discrete function and entity, not empty.
References Dune::Fem::MutableLocalFunction< DiscreteFunction >::discreteFunction(), and Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType, DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::localDofVector().
|
inline |
copy constructor
|
inline |
|
inlineinherited |
assign all DoFs of this local function
[in] | lf | local function to assign DoFs from |
|
inlineinherited |
add a multiple of another local function to this one
[in] | s | scalar factor to scale lf with |
[in] | lf | local function to add |
|
inlineinherited |
axpy operation for local function
Denoting the DoFs of the local function by and the basis functions by
, this function performs the following operation:
[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 and the basis functions by
, this function performs the following operation:
[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 and the basis functions by
, this function performs the following operation:
[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
Referenced by Dune::Fem::MutableLocalFunction< DiscreteFunction >::init().
|
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 |
|
inlineinherited |
evaluate Hessian of the local function
[in] | x | evaluation point in local coordinates |
[out] | ret | Hessian of the function in the evaluation point |
|
inline |
References Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType, DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::basisFunctionSet(), Dune::Fem::MutableLocalFunction< DiscreteFunction >::discreteFunction(), Dune::Fem::LocalFunction< BasisFunctionSet, LocalDofVector >::init(), and Dune::Fem::LocalFunction< DiscreteFunctionTraits< DiscreteFunction >::DiscreteFunctionSpaceType::BasisFunctionSetType, DiscreteFunctionTraits< DiscreteFunction >::LocalDofVectorType >::localDofVector().
|
inlineinherited |
|
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 |
return const reference to local Dof Vector
Referenced by Dune::Fem::MutableLocalFunction< DiscreteFunction >::init(), and Dune::Fem::MutableLocalFunction< DiscreteFunction >::MutableLocalFunction().
|
inlineinherited |
return mutable 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.
|
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.
|
inlineinherited |
add another local function to this one
[in] | lf | local function to add |
|
inlineinherited |
subtract another local function to this one
[in] | lf | local function to subtract |
|
delete |
|
delete |
|
inlineinherited |
access to local dofs (read-only)
[in] | num | local dof number |
|
inlineinherited |
access to local dofs (read-write)
[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 |
|
protectedinherited |
|
staticinherited |
dimension of the domain
|
staticinherited |
dimension of the range
|
protectedinherited |