version 3.8
Dumux::Detail::PQ1BubbleLocalBasis< D, R, dim, typeId > Class Template Reference

P1/Q1 + Bubble on the reference element. More...

#include <dumux/discretization/pq1bubble/pq1bubblelocalfiniteelement.hh>

Description

template<class D, class R, unsigned int dim, Dune::GeometryType::Id typeId>
class Dumux::Detail::PQ1BubbleLocalBasis< D, R, dim, typeId >
Template Parameters
DType to represent the field in the domain
RType to represent the field in the range
dimDimension of the domain element
typeIdThe geometry type

Public Types

using Traits = Dune::LocalBasisTraits< D, dim, Dune::FieldVector< D, dim >, R, 1, Dune::FieldVector< R, 1 >, Dune::FieldMatrix< R, 1, dim > >
 

Public Member Functions

 PQ1BubbleLocalBasis ()
 
void evaluateFunction (const typename Traits::DomainType &x, std::vector< typename Traits::RangeType > &out) const
 Evaluate all shape functions. More...
 
void evaluateJacobian (const typename Traits::DomainType &x, std::vector< typename Traits::JacobianType > &out) const
 Evaluate the Jacobians of all shape functions. More...
 
void partial (const std::array< unsigned int, dim > &order, const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const
 Evaluate partial derivatives of any order of all shape functions. More...
 

Static Public Member Functions

static constexpr unsigned int size ()
 Number of shape functions (one for each vertex and one in the element) More...
 
static constexpr unsigned int order ()
 Evaluate the Jacobians of all shape functions we are actually cubic/quartic but cannot represent all cubic/quartic polynomials. More...
 
static constexpr Dune::GeometryType type ()
 The reference element type. More...
 

Member Typedef Documentation

◆ Traits

template<class D , class R , unsigned int dim, Dune::GeometryType::Id typeId>
using Dumux::Detail::PQ1BubbleLocalBasis< D, R, dim, typeId >::Traits = Dune::LocalBasisTraits< D, dim, Dune::FieldVector<D, dim>, R, 1, Dune::FieldVector<R, 1>, Dune::FieldMatrix<R, 1, dim> >

Constructor & Destructor Documentation

◆ PQ1BubbleLocalBasis()

template<class D , class R , unsigned int dim, Dune::GeometryType::Id typeId>
Dumux::Detail::PQ1BubbleLocalBasis< D, R, dim, typeId >::PQ1BubbleLocalBasis ( )
inline

Member Function Documentation

◆ evaluateFunction()

template<class D , class R , unsigned int dim, Dune::GeometryType::Id typeId>
void Dumux::Detail::PQ1BubbleLocalBasis< D, R, dim, typeId >::evaluateFunction ( const typename Traits::DomainType &  x,
std::vector< typename Traits::RangeType > &  out 
) const
inline

◆ evaluateJacobian()

template<class D , class R , unsigned int dim, Dune::GeometryType::Id typeId>
void Dumux::Detail::PQ1BubbleLocalBasis< D, R, dim, typeId >::evaluateJacobian ( const typename Traits::DomainType &  x,
std::vector< typename Traits::JacobianType > &  out 
) const
inline

◆ order()

template<class D , class R , unsigned int dim, Dune::GeometryType::Id typeId>
static constexpr unsigned int Dumux::Detail::PQ1BubbleLocalBasis< D, R, dim, typeId >::order ( )
inlinestaticconstexpr

◆ partial()

template<class D , class R , unsigned int dim, Dune::GeometryType::Id typeId>
void Dumux::Detail::PQ1BubbleLocalBasis< D, R, dim, typeId >::partial ( const std::array< unsigned int, dim > &  order,
const typename Traits::DomainType &  in,
std::vector< typename Traits::RangeType > &  out 
) const
inline
Parameters
orderOrder of the partial derivatives, in the classic multi-index notation
inPosition where to evaluate the derivatives
[out]outThe desired partial derivatives

◆ size()

template<class D , class R , unsigned int dim, Dune::GeometryType::Id typeId>
static constexpr unsigned int Dumux::Detail::PQ1BubbleLocalBasis< D, R, dim, typeId >::size ( )
inlinestaticconstexpr

◆ type()

template<class D , class R , unsigned int dim, Dune::GeometryType::Id typeId>
static constexpr Dune::GeometryType Dumux::Detail::PQ1BubbleLocalBasis< D, R, dim, typeId >::type ( )
inlinestaticconstexpr

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