dune-localfunctions
2.2.1
|
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 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 |
unsigned int | order () const |
Polynomial order of the shape functions. More... | |
Uniformly refined constant shape functions on a unit simplex in R^dim.
This shape function set mimicks 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 |
number of shape functions