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

Base class for LocalBasis classes based on uniform refinement in 1D; provides numbering and local coordinates of subelements. 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 int getSubElement (const FieldVector< D, 2 > &global)
 Get the number of the subelement containing a given point.
static void getSubElement (const FieldVector< D, 1 > &global, int &subElement, FieldVector< D, 1 > &local)
 Get local coordinates in the subelement.

Detailed Description

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

Base class for LocalBasis classes based on uniform refinement in 1D; provides numbering and local coordinates of subelements.

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 int Dune::RefinedSimplexLocalBasis< D, 1 >::getSubElement ( const FieldVector< D, 2 > &  global  )  [inline, static, protected]

Get the number of the subelement containing a given point.

The subelements are ordered according to

0 1 |-------:-------|

Parameters:
[in] global Coordinates in the reference element
Returns:
Number of the subtriangle containing global
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 subelement.

Parameters:
[in] global Coordinates in the reference element
[out] subElement Number of the subelement containing global
[out] local The local coordinates in the subelement

The documentation for this class was generated from the following file:

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].