dune-functions 2.10
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Dune::Functions::RefinedLagrangeNode< GV, k, R > Class Template Reference

#include <dune/functions/functionspacebases/refinedlagrangebasis.hh>

Inheritance diagram for Dune::Functions::RefinedLagrangeNode< GV, k, R >:
Inheritance graph

Public Types

using Element = typename GV::template Codim< 0 >::Entity
 Type of the element in the GridView.
 
using FiniteElement = std::conditional_t<(k==0), Dune::RefinedP0LocalFiniteElement< typename GV::ctype, R, dim >, Dune::RefinedP1LocalFiniteElement< typename GV::ctype, R, dim > >
 Type of the local finite-element.
 
using size_type = std::size_t
 

Public Member Functions

 RefinedLagrangeNode ()
 The default constructor initializes all members to their default.
 
const Elementelement () const
 Return current element. The behavior is undefined if the node is not bound to any element.
 
const FiniteElementfiniteElement () const
 Return the LocalFiniteElement for the element we are bound to.
 
void bind (const Element &e)
 Bind the node to the element e.
 
size_type localIndex (size_type i) const
 
size_type size () const
 
size_type treeIndex () const
 

Static Public Member Functions

static constexpr unsigned int order ()
 Polynomial order used in the local Lagrange finite-elements in subdomains of the element.
 

Protected Member Functions

size_type offset () const
 
void setOffset (const size_type offset)
 
void setSize (const size_type size)
 
void setTreeIndex (size_type treeIndex)
 

Protected Attributes

const FiniteElement finiteElement_
 
const Elementelement_
 

Member Typedef Documentation

◆ Element

template<typename GV , int k, typename R >
using Dune::Functions::RefinedLagrangeNode< GV, k, R >::Element = typename GV::template Codim<0>::Entity

Type of the element in the GridView.

◆ FiniteElement

template<typename GV , int k, typename R >
using Dune::Functions::RefinedLagrangeNode< GV, k, R >::FiniteElement = std::conditional_t<(k==0), Dune::RefinedP0LocalFiniteElement<typename GV::ctype,R,dim>, Dune::RefinedP1LocalFiniteElement<typename GV::ctype,R,dim> >

Type of the local finite-element.

◆ size_type

using Dune::Functions::BasisNodeMixin::size_type = std::size_t
inherited

Constructor & Destructor Documentation

◆ RefinedLagrangeNode()

template<typename GV , int k, typename R >
Dune::Functions::RefinedLagrangeNode< GV, k, R >::RefinedLagrangeNode ( )
inline

The default constructor initializes all members to their default.

The constructor default constructs the local finite-element and sets the element pointer to nullptr, meaning that the node is not bound to any element yet.

Note
Before the node can be used it needs to be bound to an element.

Member Function Documentation

◆ bind()

template<typename GV , int k, typename R >
void Dune::Functions::RefinedLagrangeNode< GV, k, R >::bind ( const Element e)
inline

Bind the node to the element e.

◆ element()

template<typename GV , int k, typename R >
const Element & Dune::Functions::RefinedLagrangeNode< GV, k, R >::element ( ) const
inline

Return current element. The behavior is undefined if the node is not bound to any element.

◆ finiteElement()

template<typename GV , int k, typename R >
const FiniteElement & Dune::Functions::RefinedLagrangeNode< GV, k, R >::finiteElement ( ) const
inline

Return the LocalFiniteElement for the element we are bound to.

The LocalFiniteElement implements the corresponding interfaces of the dune-localfunctions module.

◆ localIndex()

size_type Dune::Functions::BasisNodeMixin::localIndex ( size_type  i) const
inlineinherited

◆ offset()

size_type Dune::Functions::BasisNodeMixin::offset ( ) const
inlineprotectedinherited

◆ order()

template<typename GV , int k, typename R >
static constexpr unsigned int Dune::Functions::RefinedLagrangeNode< GV, k, R >::order ( )
inlinestaticconstexpr

Polynomial order used in the local Lagrange finite-elements in subdomains of the element.

◆ setOffset()

void Dune::Functions::BasisNodeMixin::setOffset ( const size_type  offset)
inlineprotectedinherited

◆ setSize()

void Dune::Functions::BasisNodeMixin::setSize ( const size_type  size)
inlineprotectedinherited

◆ setTreeIndex()

void Dune::Functions::BasisNodeMixin::setTreeIndex ( size_type  treeIndex)
inlineprotectedinherited

◆ size()

size_type Dune::Functions::BasisNodeMixin::size ( ) const
inlineinherited

◆ treeIndex()

size_type Dune::Functions::BasisNodeMixin::treeIndex ( ) const
inlineinherited

Member Data Documentation

◆ element_

template<typename GV , int k, typename R >
const Element* Dune::Functions::RefinedLagrangeNode< GV, k, R >::element_
protected

◆ finiteElement_

template<typename GV , int k, typename R >
const FiniteElement Dune::Functions::RefinedLagrangeNode< GV, k, R >::finiteElement_
protected

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