dune-localfunctions  2.6-git
Public Types | List of all members
Dune::LocalBasisTraits< DF, n, D, RF, m, R, J > Struct Template Reference

Type traits for LocalBasisVirtualInterface. More...

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

Public Types

enum  { dimDomain = n }
 Enum for domain dimension. More...
 
enum  { dimRange = m }
 Enum for range dimension. More...
 
typedef DF DomainFieldType
 Export type for domain field. More...
 
typedef D DomainType
 domain type More...
 
typedef RF RangeFieldType
 Export type for range field. More...
 
typedef R RangeType
 range type More...
 
typedef J JacobianType
 Type to represent derivative. More...
 

Detailed Description

template<class DF, int n, class D, class RF, int m, class R, class J>
struct Dune::LocalBasisTraits< DF, n, D, RF, m, R, J >

Type traits for LocalBasisVirtualInterface.

A shape function is a function

\[ \hat\phi : \mbox{IR}^n \to \mbox{IR}^m. \]

This traits class holds information how the signature of this function is represented in C++ types.

This is just a convenience class for supplying traits to the LocalBasisVirtualInterface and its implementations.

Template Parameters
DFType to represent the field in the domain.
nDimension of the domain.
DType to represent the domain, allows random access.
RFType to represent the field in the range.
mDimension of the range.
RType to represent the range, allows random access.
JType to represent the Jacobian, allows random access.

Member Typedef Documentation

◆ DomainFieldType

template<class DF , int n, class D , class RF , int m, class R , class J >
typedef DF Dune::LocalBasisTraits< DF, n, D, RF, m, R, J >::DomainFieldType

Export type for domain field.

◆ DomainType

template<class DF , int n, class D , class RF , int m, class R , class J >
typedef D Dune::LocalBasisTraits< DF, n, D, RF, m, R, J >::DomainType

domain type

◆ JacobianType

template<class DF , int n, class D , class RF , int m, class R , class J >
typedef J Dune::LocalBasisTraits< DF, n, D, RF, m, R, J >::JacobianType

Type to represent derivative.

When \f$ \hat\phi : \mbox{IR}^n \to \mbox{IR}^m \f$ then JacobianType
is an 2D-array of m x n components where entry J[i][j] contains
the derivative  \f$\partial_j \hat\phi_i \f$.

◆ RangeFieldType

template<class DF , int n, class D , class RF , int m, class R , class J >
typedef RF Dune::LocalBasisTraits< DF, n, D, RF, m, R, J >::RangeFieldType

Export type for range field.

◆ RangeType

template<class DF , int n, class D , class RF , int m, class R , class J >
typedef R Dune::LocalBasisTraits< DF, n, D, RF, m, R, J >::RangeType

range type

Member Enumeration Documentation

◆ anonymous enum

template<class DF , int n, class D , class RF , int m, class R , class J >
anonymous enum

Enum for domain dimension.

Enumerator
dimDomain 

dimension of the domain

◆ anonymous enum

template<class DF , int n, class D , class RF , int m, class R , class J >
anonymous enum

Enum for range dimension.

Enumerator
dimRange 

dimension of the range


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