DUNE PDELab (2.8)

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>

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, 1 > &global)
 Get the number of the subelement containing a given point. More...
 
static void getSubElement (const FieldVector< D, 1 > &global, int &subElement, FieldVector< D, 1 > &local)
 Get local coordinates in the subelement. More...
 

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
DType to represent the field in the domain.

Member Function Documentation

◆ getSubElement() [1/2]

template<class D >
static int Dune::RefinedSimplexLocalBasis< D, 1 >::getSubElement ( const FieldVector< D, 1 > &  global)
inlinestaticprotected

Get the number of the subelement containing a given point.

The subelements are ordered according to

0       1

|----—:----—|

Parameters
[in]globalCoordinates in the reference element
Returns
Number of the subtriangle containing global

References DUNE_THROW.

◆ getSubElement() [2/2]

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

Get local coordinates in the subelement.

Parameters
[in]globalCoordinates in the reference element
[out]subElementNumber of the subelement containing global
[out]localThe local coordinates in the subelement

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)