dune-localfunctions
2.7.0
|
Go to the documentation of this file.
4 #ifndef DUNE_LOCALFUNCTIONS_INTERFACE_HH
5 #define DUNE_LOCALFUNCTIONS_INTERFACE_HH
8 #error This header exists for documentation purposes only and should never be included directly.
16 #include <dune/geometry/type.hh>
25 struct ImplementationDefined;
40 typedef ImplementationDefined
Basis;
88 GeometryType
type()
const;
112 template<
class Geometry,
class VertexOrder>
115 struct ImplementationDefined;
175 struct ImplementationDefined;
176 enum { implementationDefined };
226 std::size_t
size ()
const;
228 std::size_t
order ()
const;
232 std::vector<Traits::RangeType>& out)
const;
236 std::vector<Traits::Jacobian>& out)
const;
243 void partial(
const std::array<unsigned int,Traits::dimDomain>&
order,
245 std::vector<typename Traits::RangeType>& out)
const;
267 template<
typename F,
typename C>
268 void interpolate (
const F& f, std::vector<C>& out)
const;
280 std::size_t
size()
const;
286 #endif // DUNE_LOCALFUNCTIONS_INTERFACE_HH
ImplementationDefined DomainType
Type used for coordinate vectors in the domain.
Definition: interface.hh:198
const Traits::Coefficients & coefficients() const
Extract coefficients of this finite element.
GeometryType type() const
Extract geometry type of this finite element.
ImplementationDefined RangeType
Type used for range values.
Definition: interface.hh:213
types of domain and range
Definition: interface.hh:185
Definition: bdfmcube.hh:15
const FiniteElement make(const Geometry &, const VertexOrder &,...)
create a finite element from a geometry and a vertex ordering
std::size_t size() const
number of coefficients
void evaluateJacobian(const Traits::DomainType &in, std::vector< Traits::Jacobian > &out) const
Evaluate Jacobian of all shape functions at given position.
FiniteElementFactoryInterface(...)
Construct a finite element factory.
ImplementationDefined Interpolation
type of the Interpolation
Definition: interface.hh:54
Interface for global-valued coefficients.
Definition: interface.hh:277
std::size_t size() const
Number of shape functions.
@ dimDomain
dimension of the domain
Definition: interface.hh:195
ImplementationDefined Coefficients
type of the Coefficients
Definition: interface.hh:47
FiniteElementInterface(...)
Construct a finite element.
std::size_t order() const
Polynomial order of the shape functions for quadrature.
ImplementationDefined RangeFieldType
Field type of the range.
Definition: interface.hh:206
ImplementationDefined Basis
type of the Basis
Definition: interface.hh:40
Interface for global-valued interpolation.
Definition: interface.hh:249
const Traits::Basis & basis() const
Extract basis of this finite element.
void evaluateFunction(const Traits::DomainType &in, std::vector< Traits::RangeType > &out) const
Evaluate all shape functions at given position.
void interpolate(const F &f, std::vector< C > &out) const
Determine coefficients interpolating a given function.
ImplementationDefined FiniteElement
Type of the finite element.
Definition: interface.hh:115
Interface for global-valued shape functions.
Definition: interface.hh:173
@ dimRange
dimension of the range
Definition: interface.hh:210
BasisInterface::Traits Traits
Export basis traits.
Definition: interface.hh:255
ImplementationDefined Jacobian
Jacobian properties.
Definition: interface.hh:222
ImplementationDefined DomainFieldType
Field type of the domain.
Definition: interface.hh:191
types of component objects
Definition: interface.hh:32
Factory interface for global-valued finite elements.
Definition: interface.hh:113
const Traits::Interpolation & interpolation() const
Extract interpolation of this finite element.
Interface for global-valued finite elements.
Definition: interface.hh:23
void partial(const std::array< unsigned int, Traits::dimDomain > &order, const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const
Evaluate partial derivatives of any order of all shape functions.
const LocalKey & localKey(std::size_t i) const
get i'th index
Describe position of one degree of freedom.
Definition: localkey.hh:20