DUNE PDELab (2.8)
class for wrapping a basis using the virtual interface More...
#include <dune/localfunctions/common/virtualwrappers.hh>
Public Member Functions | |
unsigned int | size () const |
Number of shape functions. More... | |
unsigned int | order () const |
Polynomial order of the shape functions. More... | |
void | evaluateFunction (const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const |
Evaluate all basis function at given position. More... | |
void | evaluateJacobian (const typename Traits::DomainType &in, std::vector< typename Traits::JacobianType > &out) const |
Evaluate jacobian of all shape functions at given position. More... | |
void | partial (const std::array< unsigned int, Traits::dimDomain > &order, const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const |
Evaluate partial derivatives of any order of all shape functions. More... | |
Protected Member Functions | |
LocalBasisVirtualImp (const Imp &imp) | |
constructor taking an implementation of the interface | |
Detailed Description
class Dune::LocalBasisVirtualImp< T, Imp >
class for wrapping a basis using the virtual interface
- Template Parameters
-
T The LocalBasisTraits class Imp LocalBasisInterface implementation
Member Function Documentation
◆ evaluateFunction()
|
inlinevirtual |
Evaluate all basis function at given position.
Evaluates all shape functions at the given position and returns these values in a vector.
Implements Dune::LocalBasisVirtualInterface< T >.
◆ evaluateJacobian()
|
inlinevirtual |
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
Implements Dune::LocalBasisVirtualInterface< T >.
◆ order()
|
inlinevirtual |
Polynomial order of the shape functions.
Implements Dune::LocalBasisVirtualInterface< T >.
Referenced by Dune::LocalBasisVirtualImp< T, Imp >::partial().
◆ partial()
|
inlinevirtual |
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
Implements Dune::LocalBasisVirtualInterface< T >.
References Dune::LocalBasisVirtualImp< T, Imp >::order().
◆ size()
|
inlinevirtual |
Number of shape functions.
Implements Dune::LocalBasisVirtualInterface< T >.
The documentation for this class was generated from the following file:
- dune/localfunctions/common/virtualwrappers.hh