DUNE-FEM (unstable)
virtualwrappers.hh
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
45 typedef LocalFiniteElementVirtualInterface<typename Imp::Traits::LocalBasisType::Traits> Interface;
49 return LocalFiniteElementCloneFactoryHelper<Imp, std::is_base_of<Interface, Imp>::value>::clone(imp);
319 const LocalBasisVirtualImp<LocalBasisTraits, typename Imp::Traits::LocalBasisType> localBasisImp_;
320 const LocalCoefficientsVirtualImp<typename Imp::Traits::LocalCoefficientsType> localCoefficientsImp_;
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
class for wrapping a basis using the virtual interface
Definition: virtualwrappers.hh:75
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.
Definition: virtualwrappers.hh:121
void evaluateFunction(const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const
Evaluate all basis function at given position.
Definition: virtualwrappers.hh:102
unsigned int size() const
Number of shape functions.
Definition: virtualwrappers.hh:90
void evaluateJacobian(const typename Traits::DomainType &in, std::vector< typename Traits::JacobianType > &out) const
Evaluate jacobian of all shape functions at given position.
Definition: virtualwrappers.hh:109
LocalBasisVirtualImp(const Imp &imp)
constructor taking an implementation of the interface
Definition: virtualwrappers.hh:82
unsigned int order() const
Polynomial order of the shape functions.
Definition: virtualwrappers.hh:96
virtual base class for a local basis
Definition: virtualinterface.hh:40
class for wrapping local coefficients using the virtual interface
Definition: virtualwrappers.hh:193
LocalCoefficientsVirtualImp(const Imp &imp)
constructor taking an implementation of the Dune::LocalCoefficientsVirtualInterface
Definition: virtualwrappers.hh:200
const LocalKey & localKey(std::size_t i) const
get i'th index
Definition: virtualwrappers.hh:213
std::size_t size() const
number of coefficients
Definition: virtualwrappers.hh:207
virtual base class for local coefficients
Definition: virtualinterface.hh:198
class for wrapping a finite element using the virtual interface
Definition: virtualwrappers.hh:240
const Traits::LocalBasisType & localBasis() const
Definition: virtualwrappers.hh:277
virtual LocalFiniteElementVirtualImp< Imp > * clone() const
clone this wrapper
Definition: virtualwrappers.hh:311
LocalFiniteElementVirtualImp(const Imp &imp)
taking a LocalFiniteElementVirtualInterface implementation
Definition: virtualwrappers.hh:248
LocalFiniteElementVirtualImp()
Default constructor. Assumes that the implementation class is default constructible as well.
Definition: virtualwrappers.hh:256
LocalFiniteElementVirtualImp(const LocalFiniteElementVirtualImp &other)
Copy constructor needed for deep copy.
Definition: virtualwrappers.hh:264
unsigned int size() const
Number of shape functions in this finite element.
Definition: virtualwrappers.hh:295
const GeometryType type() const
Definition: virtualwrappers.hh:301
const Traits::LocalCoefficientsType & localCoefficients() const
Definition: virtualwrappers.hh:283
const Traits::LocalInterpolationType & localInterpolation() const
Definition: virtualwrappers.hh:289
virtual base class for local finite elements with functions
Definition: virtualinterface.hh:225
class for wrapping a local interpolation using the virtual interface
Definition: virtualwrappers.hh:149
virtual void interpolate(const FunctionType &f, std::vector< CoefficientType > &out) const
determine coefficients interpolating a given function
Definition: virtualwrappers.hh:168
LocalInterpolationVirtualImp(const Imp &imp)
constructor taking an implementation of the Dune::LocalInterpolationVirtualInterface
Definition: virtualwrappers.hh:158
std::function< RangeType(DomainType)> FunctionType
type of function to interpolate
Definition: virtualinterface.hh:106
virtual base class for a local interpolation
Definition: virtualinterface.hh:133
std::function< RangeType(DomainType)> FunctionType
type of function to interpolate
Definition: virtualinterface.hh:137
RangeType::field_type CoefficientType
type of the coefficient vector in the interpolate method
Definition: virtualinterface.hh:140
LB LocalBasisType
Definition: localfiniteelementtraits.hh:16
LC LocalCoefficientsType
Definition: localfiniteelementtraits.hh:20
LI LocalInterpolationType
Definition: localfiniteelementtraits.hh:24
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)