class for wrapping a basis using the virtual interface
More...
#include <dune/localfunctions/common/virtualwrappers.hh>
|
unsigned int | size () const |
| Number of shape functions.
|
|
unsigned int | order () const |
| Polynomial order of the shape functions.
|
|
void | evaluateFunction (const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const |
| Evaluate all basis function at given position.
|
|
void | evaluateJacobian (const typename Traits::DomainType &in, std::vector< typename Traits::JacobianType > &out) const |
| Evaluate jacobian of all shape functions at given position.
|
|
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.
|
|
template<class T, class Imp>
class Dune::LocalBasisVirtualImp< T, Imp >
class for wrapping a basis using the virtual interface
- Template Parameters
-
◆ Traits
template<class T , class Imp >
◆ LocalBasisVirtualImp()
template<class T , class Imp >
constructor taking an implementation of the interface
◆ evaluateFunction()
template<class T , class Imp >
void Dune::LocalBasisVirtualImp< T, Imp >::evaluateFunction |
( |
const typename Traits::DomainType & |
in, |
|
|
std::vector< typename Traits::RangeType > & |
out |
|
) |
| const |
|
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()
template<class T , class Imp >
void Dune::LocalBasisVirtualImp< T, Imp >::evaluateJacobian |
( |
const typename Traits::DomainType & |
in, |
|
|
std::vector< typename Traits::JacobianType > & |
out |
|
) |
| const |
|
inlinevirtual |
Evaluate jacobian of all shape functions at given position.
out[i][j][k] is
, when
is the i'th shape function.
- Parameters
-
[in] | in | The position where evaluated |
[out] | out | The result |
Implements Dune::LocalBasisVirtualInterface< T >.
◆ order()
template<class T , class Imp >
◆ partial()
template<class T , class Imp >
void Dune::LocalBasisVirtualImp< T, Imp >::partial |
( |
const std::array< unsigned int, Traits::dimDomain > & |
order, |
|
|
const typename Traits::DomainType & |
in, |
|
|
std::vector< typename Traits::RangeType > & |
out |
|
) |
| const |
|
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 >.
◆ size()
template<class T , class Imp >
◆ impl_
template<class T , class Imp >
The documentation for this class was generated from the following file: