dune-localfunctions  2.2.1
Classes | Public Member Functions | List of all members
Dune::BasisInterface Class Reference

Interface for global-valued shape functions. More...

#include <dune/localfunctions/common/interface.hh>

Inheritance diagram for Dune::BasisInterface:
Dune::ScalarLocalToGlobalBasisAdaptor< LocalBasis, Geometry > Dune::ScalarLocalToGlobalBasisAdaptor< typename LocalFiniteElement::Traits::LocalBasisType, Geometry >

Classes

struct  Traits
 types of domain and range More...
 

Public Member Functions

std::size_t size () const
 Number of shape functions. More...
 
std::size_t order () const
 Polynomial order of the shape functions for quadrature. More...
 
void evaluateFunction (const Traits::DomainLocal &in, std::vector< Traits::Range > &out) const
 Evaluate all shape functions at given position. More...
 
void evaluateJacobian (const Traits::DomainLocal &in, std::vector< Traits::Jacobian > &out) const
 Evaluate Jacobian of all shape functions at given position. More...
 
void evaluate (const array< std::size_t, Traits::dimDomainGlobal > &directions, const Traits::DomainLocal &in, std::vector< Traits::Range > &out) const
 Evaluate derivatives of all shape functions at given position. More...
 

Detailed Description

Interface for global-valued shape functions.

Member Function Documentation

void Dune::BasisInterface::evaluate ( const array< std::size_t, Traits::dimDomainGlobal > &  directions,
const Traits::DomainLocal in,
std::vector< Traits::Range > &  out 
) const

Evaluate derivatives of all shape functions at given position.

Note
Only required for Traits::diffOrder >= 2
void Dune::BasisInterface::evaluateFunction ( const Traits::DomainLocal in,
std::vector< Traits::Range > &  out 
) const

Evaluate all shape functions at given position.

void Dune::BasisInterface::evaluateJacobian ( const Traits::DomainLocal in,
std::vector< Traits::Jacobian > &  out 
) const

Evaluate Jacobian of all shape functions at given position.

Note: Only required for Traits::diffOrder >= 1

std::size_t Dune::BasisInterface::order ( ) const

Polynomial order of the shape functions for quadrature.

std::size_t Dune::BasisInterface::size ( ) const

Number of shape functions.


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