dune-localfunctions 2.10
|
Base class for LocalBasis classes based on uniform refinement in 3D; 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, 3 > &global) |
Get the number of the subsimplex containing a given point in the reference element. | |
static void | getSubElement (const FieldVector< D, 3 > &global, int &subElement, FieldVector< D, 3 > &local) |
Get local coordinates in the subsimplex. | |
Base class for LocalBasis classes based on uniform refinement in 3D; 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. |
|
inlineprotected |
Protected default constructor so this class can only be instantiated as a base class.
|
inlinestaticprotected |
Get the number of the subsimplex containing a given point in the reference element.
Defining the following points in the reference simplex
0: (0.0, 0.0, 0.0) 1: (1.0, 0.0, 0.0) 2: (0.0, 1.0, 0.0) 3: (0.0, 0.0, 1.0) 4: (0.5, 0.0, 0.0) 5: (0.5, 0.5, 0.0) 6: (0.0, 0.5, 0.0) 7: (0.0, 0.0, 0.5) 8: (0.5, 0.0, 0.5) 9: (0.0, 0.5, 0.5)
The subsimplices are numbered according to
0: 0467 - 1: 4158 |_ "cut off" vertices 2: 6529 | 3: 7893 -
4: 6487 - 5: 4568 |_ octahedron partition 6: 6897 | 7: 6895 -
[in] | global | Coordinates in the reference simplex |
global
|
inlinestaticprotected |
Get local coordinates in the subsimplex.
[in] | global | Coordinates in the reference simplex |
[out] | subElement | Number of the subsimplex containing global |
[out] | local | The local coordinates in the subsimplex |