Dune Core Modules (2.8.0)

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.
 
typedef D DomainType
 domain type
 
typedef RF RangeFieldType
 Export type for range field.
 
typedef R RangeType
 range type
 
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

◆ 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$.

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:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 22, 23:30, 2024)