|
dune-pdelab 2.9
|
Loading...
Searching...
No Matches
qkdglegendre.hh
Go to the documentation of this file.
246 typedef LocalBasisTraits<D,d,Dune::FieldVector<D,d>,R,1,Dune::FieldVector<R,1>,Dune::FieldMatrix<R,1,d> > Traits;
friend friend Polynomial derivative(const Polynomial &p)
double alpha() const
const FieldVector< K, n > & diagonal() const
#define DUNE_THROW(E, m)
STL namespace.
For backward compatibility – Do not use this!
Dune::FieldVector< int, d > multiindex(int i)
Definition qkdglegendre.hh:66
static const QuadratureRule & rule(const GeometryType &t, int p, QuadratureType::Enum qt=QuadratureType::GaussLegendre)
D DomainType
LB LocalBasisType
LC LocalCoefficientsType
LI LocalInterpolationType
GridImp::ctype ctype
static constexpr int mydimension
Definition qkdglegendre.hh:35
The 1d Legendre Polynomials (k=0,1 are specialized below)
Definition qkdglegendre.hh:80
void pdp(D x, std::vector< R > &value, std::vector< R > &derivative) const
Definition qkdglegendre.hh:117
void p(D x, std::vector< R > &value) const
evaluate all polynomials at point x
Definition qkdglegendre.hh:83
void dp(D x, std::vector< R > &derivative) const
Definition qkdglegendre.hh:101
void pdp(D x, std::vector< R > &value, std::vector< R > &derivative) const
Definition qkdglegendre.hh:172
void p(D x, std::vector< R > &value) const
evaluate all polynomials at point x
Definition qkdglegendre.hh:146
void dp(D x, std::vector< R > &derivative) const
Definition qkdglegendre.hh:159
R p(int i, D x) const
Definition qkdglegendre.hh:153
R dp(int i, D x) const
Definition qkdglegendre.hh:166
void dp(D x, std::vector< R > &derivative) const
Definition qkdglegendre.hh:200
R p(int i, D x) const
Definition qkdglegendre.hh:194
void p(D x, std::vector< R > &value) const
evaluate all polynomials at point x
Definition qkdglegendre.hh:186
R dp(int i, D x) const
Definition qkdglegendre.hh:208
void pdp(D x, std::vector< R > &value, std::vector< R > &derivative) const
Definition qkdglegendre.hh:214
Lagrange shape functions of order k on the reference cube.
Definition qkdglegendre.hh:239
unsigned int size() const
number of shape functions
Definition qkdglegendre.hh:252
void evaluateFunction(const typename Traits::DomainType &x, std::vector< typename Traits::RangeType > &value) const
Evaluate all shape functions.
Definition qkdglegendre.hh:258
void evaluateJacobian(const typename Traits::DomainType &x, std::vector< typename Traits::JacobianType > &value) const
Evaluate Jacobian of all shape functions.
Definition qkdglegendre.hh:283
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:313
DGLegendreLocalBasis()
Definition qkdglegendre.hh:248
unsigned int order() const
Polynomial order of the shape functions.
Definition qkdglegendre.hh:325
LocalBasisTraits< D, d, Dune::FieldVector< D, d >, R, 1, Dune::FieldVector< R, 1 >, Dune::FieldMatrix< R, 1, d > > Traits
Definition qkdglegendre.hh:246
determine degrees of freedom
Definition qkdglegendre.hh:335
DGLegendreLocalInterpolation()
Definition qkdglegendre.hh:343
void interpolate(const F &ff, std::vector< C > &out) const
Local interpolation of a function.
Definition qkdglegendre.hh:348
Layout map for Q1 elements.
Definition qkdglegendre.hh:394
DGLegendreLocalCoefficients()
Standard constructor.
Definition qkdglegendre.hh:399
std::size_t size() const
number of coefficients
Definition qkdglegendre.hh:406
const LocalKey & localKey(std::size_t i) const
get i'th index
Definition qkdglegendre.hh:412
Definition qkdglegendre.hh:427
const Traits::LocalCoefficientsType & localCoefficients() const
Definition qkdglegendre.hh:455
LocalFiniteElementTraits< LocalBasis, LocalCoefficients, LocalInterpolation > Traits
Definition qkdglegendre.hh:438
const Traits::LocalInterpolationType & localInterpolation() const
Definition qkdglegendre.hh:462
QkDGLegendreLocalFiniteElement * clone() const
Definition qkdglegendre.hh:481
const Traits::LocalBasisType & localBasis() const
Definition qkdglegendre.hh:448
QkDGLegendreLocalFiniteElement()
Definition qkdglegendre.hh:442
Factory for global-valued DGLegendre elements.
Definition qkdglegendre.hh:507
QkDGLegendreFiniteElementFactory()
default constructor
Definition qkdglegendre.hh:517
T accumulate(T... args)
T resize(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8