DUNE PDELab (git)

#include <dune/localfunctions/monomial/monomiallocalbasis.hh>

Public Types

typedef LocalBasisTraits< D, d, Dune::FieldVector< D, d >, R, 1, Dune::FieldVector< R, 1 >, Dune::FieldMatrix< R, 1, d > > Traits
 export type traits for function signature
 

Public Member Functions

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

Static Public Member Functions

static constexpr unsigned int size ()
 Number of shape functions.
 

Detailed Description

template<class D, class R, unsigned int d, unsigned int p>
class Dune::MonomialLocalBasis< D, R, d, p >
\brief Constant shape function

Defines the constant scalar shape function in d dimensions. Is
valid on any type of reference element.

\tparam D Type to represent the field in the domain.
\tparam R Type to represent the field in the range.
\tparam d Domain dimension
Template Parameters
ppolynomial order of the shapefunctions

Member Function Documentation

◆ partial()

template<class D , class R , unsigned int d, unsigned int p>
void Dune::MonomialLocalBasis< D, R, d, p >::partial ( const std::array< unsigned int, d > &  order,
const typename Traits::DomainType in,
std::vector< typename Traits::RangeType > &  out 
) const
inline

Evaluate partial derivatives of any order of all shape functions.

Parameters
orderOrder of the partial derivatives, in the classic multi-index notation
inPosition where to evaluate the derivatives
[out]outReturn value: the desired partial derivatives

References Dune::MonomialLocalBasis< D, R, d, p >::order(), and Dune::MonomialLocalBasis< D, R, d, p >::size().


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 (Nov 24, 23:30, 2024)