Dune Core Modules (2.6.0)
Dune::P1LocalBasis< D, R, dim > Class Template Reference
Linear Lagrange shape functions on the simplex. More...
#include <dune/localfunctions/lagrange/p1/p1localbasis.hh>
Public Types | |
typedef LocalBasisTraits< D, dim, Dune::FieldVector< D, dim >, R, 1, Dune::FieldVector< R, 1 >, Dune::FieldMatrix< R, 1, dim > > | Traits |
export type traits for function signature | |
Public Member Functions | |
unsigned int | size () const |
number of shape functions | |
void | evaluateFunction (const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const |
Evaluate all shape functions. | |
void | evaluateJacobian (const typename Traits::DomainType &in, std::vector< typename Traits::JacobianType > &out) const |
Evaluate Jacobian of all shape functions. | |
void | partial (const std::array< unsigned int, dim > &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, int dim>
class Dune::P1LocalBasis< D, R, dim >
class Dune::P1LocalBasis< D, R, dim >
Linear Lagrange shape functions on the simplex.
Defines the linear shape functions on the simplex.
- Template Parameters
-
D Type to represent the field in the domain. R Type to represent the field in the range. dim The dimension of the simplex \nosubgrouping
Member Function Documentation
◆ partial()
template<class D , class R , int dim>
|
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::P1LocalBasis< D, R, dim >::evaluateFunction(), Dune::P1LocalBasis< D, R, dim >::order(), and Dune::P1LocalBasis< D, R, dim >::size().
The documentation for this class was generated from the following file:
- dune/localfunctions/lagrange/p1/p1localbasis.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 26, 23:30, 2024)