Dune::RefinedSimplexLocalBasis< D, 1 > Class Template Reference

Uniformly refined linear Lagrange shape functions in 1D. More...

#include <dune/localfunctions/refined/common/refinedsimplexlocalbasis.hh>

Inheritance diagram for Dune::RefinedSimplexLocalBasis< D, 1 >:
Inheritance graph

List of all members.

Protected Member Functions

 RefinedSimplexLocalBasis ()
 Protected default constructor so this class can only be instantiated as a base class.

Static Protected Member Functions

static void getSubElement (const FieldVector< D, 1 > &global, int &subElement, FieldVector< D, 1 > &local)
 Get local coordinates in the subtriangle.

Detailed Description

template<class D>
class Dune::RefinedSimplexLocalBasis< D, 1 >

Uniformly refined linear Lagrange shape functions in 1D.

1D IMPLEMENTATION IS NOT TESTED (the LocalElement for 1D does not exist due to lack of P21D elements)

This shape function set mimicks the P1 shape functions that you would get on a uniformly refined grid. Hence these shape functions are only piecewise linear! The data layout is identical to P2 shape functions.

Shape functions like these are necessary for hierarchical error estimators for certain nonlinear problems.

The functions are associated to points by:

f_0 ~ (0.0) f_1 ~ (1.0) f_2 ~ (0.5)

Template Parameters:
D Type to represent the field in the domain.

Constructor & Destructor Documentation

template<class D >
Dune::RefinedSimplexLocalBasis< D, 1 >::RefinedSimplexLocalBasis (  )  [inline, protected]

Protected default constructor so this class can only be instantiated as a base class.


Member Function Documentation

template<class D >
static void Dune::RefinedSimplexLocalBasis< D, 1 >::getSubElement ( const FieldVector< D, 1 > &  global,
int &  subElement,
FieldVector< D, 1 > &  local 
) [inline, static, protected]

Get local coordinates in the subtriangle.

Parameters:
[in] global Coordinates in the reference triangle
[out] subElement Which of the four subtriangles is global in?
[out] local The local coordinates in the subtriangle

The documentation for this class was generated from the following file:
Generated on Sat Apr 24 11:15:39 2010 for dune-localfunctions by  doxygen 1.6.3