dune-localfunctions
2.2.1
|
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 >, 2 > | Traits |
export type traits for function signature More... | |
Public Member Functions | |
unsigned int | size () const |
number of shape functions More... | |
void | evaluateFunction (const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const |
Evaluate all shape functions. More... | |
void | evaluateJacobian (const typename Traits::DomainType &in, std::vector< typename Traits::JacobianType > &out) const |
Evaluate Jacobian of all shape functions. More... | |
template<unsigned int k> | |
void | evaluate (const typename Dune::array< int, k > &directions, const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const |
Evaluate all shape functions. More... | |
unsigned int | order () const |
Polynomial order of the shape functions. More... | |
Linear Lagrange shape functions on the simplex.
Defines the linear shape functions on the simplex.
D | Type to represent the field in the domain. |
R | Type to represent the field in the range. |
dim | The dimension of the simplex |
typedef LocalBasisTraits<D,dim,Dune::FieldVector<D,dim>,R,1,Dune::FieldVector<R,1>, Dune::FieldMatrix<R,1,dim>, 2> Dune::P1LocalBasis< D, R, dim >::Traits |
export type traits for function signature
|
inline |
Evaluate all shape functions.
References Dune::P1LocalBasis< D, R, dim >::evaluateFunction(), and Dune::P1LocalBasis< D, R, dim >::size().
|
inline |
Evaluate all shape functions.
References Dune::P1LocalBasis< D, R, dim >::size().
Referenced by Dune::P1LocalBasis< D, R, dim >::evaluate(), and Dune::EdgeS0_5Basis< Geometry, RF >::evaluateFunction().
|
inline |
Evaluate Jacobian of all shape functions.
References Dune::P1LocalBasis< D, R, dim >::size().
|
inline |
Polynomial order of the shape functions.
|
inline |
number of shape functions
Referenced by Dune::P1LocalBasis< D, R, dim >::evaluate(), Dune::P1LocalBasis< D, R, dim >::evaluateFunction(), and Dune::P1LocalBasis< D, R, dim >::evaluateJacobian().