dune-localfunctions
2.2.1
|
Hierarchical P2 basis in 1d. More...
Public Types | |
typedef LocalBasisTraits< D, 1, Dune::FieldVector< D, 1 > , R, 1, Dune::FieldVector< R, 1 > , Dune::FieldMatrix< R, 1, 1 > > | 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... | |
unsigned int | order () const |
Polynomial order of the shape functions (2, in this case) More... | |
Hierarchical P2 basis in 1d.
The shape functions are associated to the following points:
f_0 ~ (0.0) // linear function f_1 ~ (1.0) // linear function f_2 ~ (0.5) // quadratic bubble
D | Type to represent the field in the domain. |
R | Type to represent the field in the range. |
typedef LocalBasisTraits<D,1,Dune::FieldVector<D,1>,R,1,Dune::FieldVector<R,1>, Dune::FieldMatrix<R,1,1> > Dune::HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, 1 >::Traits |
export type traits for function signature
|
inline |
Evaluate all shape functions.
|
inline |
Evaluate Jacobian of all shape functions.
|
inline |
Polynomial order of the shape functions (2, in this case)
|
inline |
number of shape functions