6 #ifndef DUNE_LOCALFUNCTIONS_INTERFACE_HH 7 #define DUNE_LOCALFUNCTIONS_INTERFACE_HH 10 #error This header exists for documentation purposes only and should never be included directly. 18 #include <dune/geometry/type.hh> 27 struct ImplementationDefined;
42 typedef ImplementationDefined
Basis;
90 GeometryType
type()
const;
114 template<
class Geometry,
class VertexOrder>
117 struct ImplementationDefined;
177 struct ImplementationDefined;
178 constexpr
static int implementationDefined = 42;
210 constexpr
static int dimRange = 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 Interface for global-valued interpolation.
Definition: interface.hh:249
Factory interface for global-valued finite elements.
Definition: interface.hh:115
ImplementationDefined Basis
type of the Basis
Definition: interface.hh:42
ImplementationDefined DomainType
Type used for coordinate vectors in the domain.
Definition: interface.hh:199
ImplementationDefined RangeFieldType
Field type of the range.
Definition: interface.hh:207
void evaluateFunction(const Traits::DomainType &in, std::vector< Traits::RangeType > &out) const
Evaluate all shape functions at given position.
const Traits::Coefficients & coefficients() const
Extract coefficients of this finite element.
std::size_t size() const
number of coefficients
Describe position of one degree of freedom.
Definition: localkey.hh:23
FiniteElementInterface(...)
Construct a finite element.
BasisInterface::Traits Traits
Export basis traits.
Definition: interface.hh:255
types of domain and range
Definition: interface.hh:187
std::size_t size() const
Number of shape functions.
types of component objects
Definition: interface.hh:34
ImplementationDefined DomainFieldType
Field type of the domain.
Definition: interface.hh:193
Definition: bdfmcube.hh:17
Interface for global-valued coefficients.
Definition: interface.hh:277
ImplementationDefined FiniteElement
Type of the finite element.
Definition: interface.hh:117
Interface for global-valued shape functions.
Definition: interface.hh:175
const FiniteElement make(const Geometry &, const VertexOrder &,...)
create a finite element from a geometry and a vertex ordering
FiniteElementFactoryInterface(...)
Construct a finite element factory.
const LocalKey & localKey(std::size_t i) const
get i'th index
const Traits::Basis & basis() const
Extract basis of this finite element.
void evaluateJacobian(const Traits::DomainType &in, std::vector< Traits::Jacobian > &out) const
Evaluate Jacobian of all shape functions at given position.
GeometryType type() const
Extract geometry type of this finite element.
ImplementationDefined Jacobian
Jacobian properties.
Definition: interface.hh:222
static constexpr int dimRange
dimension of the range
Definition: interface.hh:210
ImplementationDefined Interpolation
type of the Interpolation
Definition: interface.hh:56
ImplementationDefined RangeType
Type used for range values.
Definition: interface.hh:213
void interpolate(const F &f, std::vector< C > &out) const
Determine coefficients interpolating a given function.
const Traits::Interpolation & interpolation() const
Extract interpolation of this finite element.
static constexpr int dimDomain
dimension of the domain
Definition: interface.hh:196
Interface for global-valued finite elements.
Definition: interface.hh:25
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.
std::size_t order() const
Polynomial order of the shape functions for quadrature.
ImplementationDefined Coefficients
type of the Coefficients
Definition: interface.hh:49