dune-localfunctions 2.10
|
Uniformly refined constant shape functions on a unit simplex in R^dim. More...
#include <dune/localfunctions/refined/refinedp0/refinedp0localbasis.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 |
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 all shape functions. | |
unsigned int | order () const |
Polynomial order of the shape functions. | |
Uniformly refined constant shape functions on a unit simplex in R^dim.
This shape function set mimics the P0 shape functions that you would get on a uniformly refined grid. Hence these shape functions are only piecewise constant!
Shape functions like these are necessary for hierarchical error estimators for certain nonlinear problems.
The functions are associated with the subelements as defined in RefinedSimplexLocalBasis
D | Type to represent the field in the domain. |
R | Type to represent the field in the range. |
dim | Dimension of domain space |
typedef LocalBasisTraits<D,dim,Dune::FieldVector<D,dim>,R,1,Dune::FieldVector<R,1>, Dune::FieldMatrix<R,1,dim> > Dune::RefinedP0LocalBasis< D, R, dim >::Traits |
export type traits for function signature
|
inline |
Evaluate all shape functions.
|
inline |
|
inline |
Polynomial order of the shape functions.
Doesn't really apply: these shape functions are only piecewise constant
|
inline |
Evaluate partial derivatives of all shape functions.
|
inline |
number of shape functions