DUNE PDELab (unstable)
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
qkdglegendre.hh
244 typedef LocalBasisTraits<D,d,Dune::FieldVector<D,d>,R,1,Dune::FieldVector<R,1>,Dune::FieldMatrix<R,1,d> > Traits;
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
GridImp::ctype ctype
define type used for coordinates in grid module
Definition: geometry.hh:100
static constexpr int mydimension
geometry dimension
Definition: geometry.hh:94
Lagrange shape functions of order k on the reference cube.
Definition: qkdglegendre.hh:237
unsigned int size() const
number of shape functions
Definition: qkdglegendre.hh:250
void evaluateFunction(const typename Traits::DomainType &x, std::vector< typename Traits::RangeType > &value) const
Evaluate all shape functions.
Definition: qkdglegendre.hh:256
void evaluateJacobian(const typename Traits::DomainType &x, std::vector< typename Traits::JacobianType > &value) const
Evaluate Jacobian of all shape functions.
Definition: qkdglegendre.hh:281
void partial(const std::array< unsigned int, Traits::dimDomain > &order, const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const
Evaluate partial derivative of all shape functions.
Definition: qkdglegendre.hh:311
unsigned int order() const
Polynomial order of the shape functions.
Definition: qkdglegendre.hh:323
Layout map for Q1 elements.
Definition: qkdglegendre.hh:391
DGLegendreLocalCoefficients()
Standard constructor.
Definition: qkdglegendre.hh:396
std::size_t size() const
number of coefficients
Definition: qkdglegendre.hh:403
const LocalKey & localKey(std::size_t i) const
get i'th index
Definition: qkdglegendre.hh:409
determine degrees of freedom
Definition: qkdglegendre.hh:333
void interpolate(const F &f, std::vector< C > &out) const
Local interpolation of a function.
Definition: qkdglegendre.hh:346
The 1d Legendre Polynomials (k=0,1 are specialized below)
Definition: qkdglegendre.hh:78
void p(D x, std::vector< R > &value) const
evaluate all polynomials at point x
Definition: qkdglegendre.hh:81
Factory for global-valued DGLegendre elements.
Definition: qkdglegendre.hh:504
QkDGLegendreFiniteElementFactory()
default constructor
Definition: qkdglegendre.hh:514
Definition: qkdglegendre.hh:424
const Traits::LocalCoefficientsType & localCoefficients() const
Definition: qkdglegendre.hh:452
LocalFiniteElementTraits< LocalBasis, LocalCoefficients, LocalInterpolation > Traits
Definition: qkdglegendre.hh:435
const Traits::LocalInterpolationType & localInterpolation() const
Definition: qkdglegendre.hh:459
const Traits::LocalBasisType & localBasis() const
Definition: qkdglegendre.hh:445
QkDGLegendreLocalFiniteElement()
Definition: qkdglegendre.hh:439
static const QuadratureRule & rule(const GeometryType &t, int p, QuadratureType::Enum qt=QuadratureType::GaussLegendre)
select the appropriate QuadratureRule for GeometryType t and order p
Definition: quadraturerules.hh:326
Factory for ScalarLocalToGlobalFiniteElementAdaptor objects.
Definition: localtoglobaladaptors.hh:244
Definition of the DUNE_NO_DEPRECATED_* macros.
Implements a vector constructed from a given type representing a field and a compile-time given size.
TrigonometricFunction< K, -cosFactor, sinFactor > derivative(const TrigonometricFunction< K, sinFactor, cosFactor > &f)
Obtain derivative of TrigonometricFunction function.
Definition: trigonometricfunction.hh:43
constexpr GeometryType cube(unsigned int dim)
Returns a GeometryType representing a hypercube of dimension dim.
Definition: type.hh:462
constexpr T accumulate(Range &&range, T value, F &&f)
Accumulate values.
Definition: hybridutilities.hh:280
LB LocalBasisType
Definition: localfiniteelementtraits.hh:16
LC LocalCoefficientsType
Definition: localfiniteelementtraits.hh:20
LI LocalInterpolationType
Definition: localfiniteelementtraits.hh:24
A unique label for each type of element that can occur in a grid.
