Dune Core Modules (2.6.0)
Dune::Pk2DLocalBasis< D, R, k > Class Template Reference
Lagrange shape functions of arbitrary order on the reference triangle. More...
#include <dune/localfunctions/lagrange/pk2d/pk2dlocalbasis.hh>
Public Types | |
enum | |
Export the number of degrees of freedom. | |
enum | |
Export the element order OS: Surprising that we need to export this both statically and dynamically! | |
Public Member Functions | |
Pk2DLocalBasis () | |
Standard constructor. | |
unsigned int | size () const |
number of shape functions | |
void | evaluateFunction (const typename Traits::DomainType &x, std::vector< typename Traits::RangeType > &out) const |
Evaluate all shape functions. | |
void | evaluateJacobian (const typename Traits::DomainType &x, std::vector< typename Traits::JacobianType > &out) const |
Evaluate Jacobian of all shape functions. | |
void | partial (const std::array< unsigned int, 2 > &order, const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const |
Evaluate partial derivatives of any order of all shape functions. More... | |
unsigned int | order () const |
Polynomial order of the shape functions. | |
Detailed Description
template<class D, class R, unsigned int k>
class Dune::Pk2DLocalBasis< D, R, k >
class Dune::Pk2DLocalBasis< D, R, k >
Lagrange shape functions of arbitrary order on the reference triangle.
Lagrange shape functions of arbitrary order have the property that \(\hat\phi^i(x_j) = \delta_{i,j}\) for certain points \(x_j\).
- Template Parameters
-
D Type to represent the field in the domain. R Type to represent the field in the range. k Polynomial order.
Member Function Documentation
◆ partial()
template<class D , class R , unsigned int k>
|
inline |
Evaluate partial derivatives of any order of all shape functions.
- Parameters
-
order Order of the partial derivatives, in the classic multi-index notation in Position where to evaluate the derivatives [out] out Return value: the desired partial derivatives
References Dune::Hybrid::accumulate(), DUNE_THROW, Dune::Pk2DLocalBasis< D, R, k >::evaluateFunction(), and Dune::Pk2DLocalBasis< D, R, k >::order().
The documentation for this class was generated from the following file:
- dune/localfunctions/lagrange/pk2d/pk2dlocalbasis.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 24, 23:30, 2024)