Traits for basis implementations. More...
#include <dune/localfunctions/common/basis.hh>
Public Types | |
typedef Imp::Traits::DomainFieldType | DomainFieldType |
Type used for single coordinate components. | |
typedef Imp::Traits::DomainType | DomainType |
Type used for complete coordinates. | |
typedef Imp::Traits::RangeFieldType | RangeFieldType |
Type used for one component of the function value. | |
typedef Imp::Traits::RangeType | RangeType |
Type used for the complete function value. | |
typedef Imp::Traits::JacobianType | JacobianType |
The type of the jacobian. | |
Public Member Functions | |
dune_static_assert (AlwaysFalse< Imp >::value,"If you get this error you the compiler tried to ""instantiate the non-specialized version of ""BasisTraits, which should never happen. Maybe you ""forgot to provide a specialization for your basis?") | |
Static Public Attributes | |
static const unsigned | dimDomain = Imp::Traits::dimDomain |
Dimension of the domain, number of components per coordinate. | |
static const unsigned | dimRange = Imp::Traits::dimRange |
Dimension or number of components of the function value. | |
static const unsigned | diffOrder = Imp::Traits::diffOrder |
How many times this function may be differentiated. |
Traits for basis implementations.
Each basis should either have its own specialization of this class or provide a traits class conforming to this interface in some other way.
Imp | The type of the basis implementation. |
typedef Imp::Traits::DomainFieldType Dune::BasisTraits< Imp >::DomainFieldType |
Type used for single coordinate components.
typedef Imp::Traits::DomainType Dune::BasisTraits< Imp >::DomainType |
Type used for complete coordinates.
typedef Imp::Traits::JacobianType Dune::BasisTraits< Imp >::JacobianType |
The type of the jacobian.
typedef Imp::Traits::RangeFieldType Dune::BasisTraits< Imp >::RangeFieldType |
Type used for one component of the function value.
typedef Imp::Traits::RangeType Dune::BasisTraits< Imp >::RangeType |
Type used for the complete function value.
Dune::BasisTraits< Imp >::dune_static_assert | ( | AlwaysFalse< Imp >::value | , | |
"If you get this error you the compiler tried to ""instantiate the non-specialized version of "" | BasisTraits, | |||
which should never happen.Maybe you""forgot to provide a specialization for your basis?" | ||||
) |
const unsigned Dune::BasisTraits< Imp >::diffOrder = Imp::Traits::diffOrder [static] |
How many times this function may be differentiated.
This should be 0 if the basis provides only the interface of C0BasisInterface and 1 if it provides the interface of C1BasisInterface.
const unsigned Dune::BasisTraits< Imp >::dimDomain = Imp::Traits::dimDomain [static] |
Dimension of the domain, number of components per coordinate.
const unsigned Dune::BasisTraits< Imp >::dimRange = Imp::Traits::dimRange [static] |
Dimension or number of components of the function value.