DUNE PDELab (2.8)
virtual base class for a local basis More...
#include <dune/localfunctions/common/virtualinterface.hh>
Public Member Functions | |
virtual unsigned int | size () const =0 |
Number of shape functions. | |
virtual unsigned int | order () const =0 |
Polynomial order of the shape functions. | |
virtual void | evaluateFunction (const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const =0 |
Evaluate all basis function at given position. More... | |
virtual void | evaluateJacobian (const typename Traits::DomainType &in, std::vector< typename Traits::JacobianType > &out) const =0 |
Evaluate jacobian of all shape functions at given position. More... | |
virtual void | partial (const std::array< unsigned int, Traits::dimDomain > &order, const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const =0 |
Evaluate partial derivatives of any order of all shape functions. More... | |
Detailed Description
class Dune::LocalBasisVirtualInterface< T >
virtual base class for a local basis
Provides the local basis interface with pure virtual methods. This class defines the interface using pure virtual methods.
Member Function Documentation
◆ evaluateFunction()
|
pure virtual |
Evaluate all basis function at given position.
Evaluates all shape functions at the given position and returns these values in a vector.
Implemented in Dune::LocalBasisVirtualImp< T, Imp >, and Dune::LocalBasisVirtualImp< LocalBasisTraits, typename Imp::Traits::LocalBasisType >.
◆ evaluateJacobian()
|
pure virtual |
Evaluate jacobian of all shape functions at given position.
out[i][j][k] is \(\partial_k \hat\phi_j^i \), when \(\hat\phi^i \) is the i'th shape function.
- Parameters
-
[in] in The position where evaluated [out] out The result
Implemented in Dune::LocalBasisVirtualImp< T, Imp >, and Dune::LocalBasisVirtualImp< LocalBasisTraits, typename Imp::Traits::LocalBasisType >.
◆ partial()
|
pure virtual |
Evaluate partial derivatives of any order of all shape functions.
- Parameters
-
order Order of the partial derivatives, in the classic multi-index notation in Position where to evaluate the derivatives [out] out Return value: the desired partial derivatives
Implemented in Dune::LocalBasisVirtualImp< T, Imp >, and Dune::LocalBasisVirtualImp< LocalBasisTraits, typename Imp::Traits::LocalBasisType >.
The documentation for this class was generated from the following file:
- dune/localfunctions/common/virtualinterface.hh