- Home
- About DUNE
- Download
- Documentation
- Community
- Development
Base class for LocalBasis classes based on uniform refinement in 2D; provides numbering and local coordinates of subelements. More...
#include <dune/localfunctions/refined/common/refinedsimplexlocalbasis.hh>
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 subtriangle containing a given point. | |
static void | getSubElement (const FieldVector< D, 2 > &global, int &subElement, FieldVector< D, 2 > &local) |
Get local coordinates in the subtriangle. |
Base class for LocalBasis classes based on uniform refinement in 2D; provides numbering and local coordinates of subelements.
Shape functions like these are necessary for hierarchical error estimators for certain nonlinear problems.
D | Type to represent the field in the domain. |
Dune::RefinedSimplexLocalBasis< D, 2 >::RefinedSimplexLocalBasis | ( | ) | [inline, protected] |
Protected default constructor so this class can only be instantiated as a base class.
static int Dune::RefinedSimplexLocalBasis< D, 2 >::getSubElement | ( | const FieldVector< D, 2 > & | global | ) | [inline, static, protected] |
Get the number of the subtriangle containing a given point.
The triangles are ordered according to
|\ |2\ |--\ ||\ |0\|1\ ------
[in] | global | Coordinates in the reference triangle |
global
static void Dune::RefinedSimplexLocalBasis< D, 2 >::getSubElement | ( | const FieldVector< D, 2 > & | global, | |
int & | subElement, | |||
FieldVector< D, 2 > & | local | |||
) | [inline, static, protected] |
Get local coordinates in the subtriangle.
[in] | global | Coordinates in the reference triangle |
[out] | subElement | Number of the subtriangle containing global |
[out] | local | The local coordinates in the subtriangle |
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].