Dune Core Modules (2.8.0)

defaultderivativetraits.hh
1// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2// vi: set et ts=4 sw=2 sts=2:
3#ifndef DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH
4#define DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH
5
6#include <type_traits>
7#include <utility>
8
11
12namespace Dune {
13namespace Functions {
14
15
16
23{};
24
25
35template<class Signature>
37{
40};
41
42
50template<>
51struct DefaultDerivativeTraits< double(double) >
52{
54 typedef double Range;
55};
56
66template<typename K, int n>
68{
71};
72
82template<typename K, int n, int m>
84{
87};
88
98template<typename K, int n, int m>
100{
103};
104
105
106}} // namespace Dune::Functions
107
108
109#endif // DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH
A dense n x m matrix.
Definition: fmatrix.hh:69
vector space out of a tensor product of fields.
Definition: fvector.hh:95
Dummy range class to be used if no proper type is available.
Definition: defaultderivativetraits.hh:23
Implements a matrix constructed from a given type representing a field and compile-time given number ...
Implements a vector constructed from a given type representing a field and a compile-time given size.
Dune namespace.
Definition: alignedallocator.hh:11
FieldMatrix< K, m, n > Range
Range of derivative for function with given signature.
Definition: defaultderivativetraits.hh:102
FieldMatrix< K, m, n > Range
Range of derivative for function with given signature.
Definition: defaultderivativetraits.hh:86
FieldVector< K, n > Range
Range of derivative for function with given signature.
Definition: defaultderivativetraits.hh:70
double Range
Range of derivative for function with given signature.
Definition: defaultderivativetraits.hh:54
Default implementation for derivative traits.
Definition: defaultderivativetraits.hh:37
InvalidRange Range
Range of derivative for function with given signature.
Definition: defaultderivativetraits.hh:39
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 22, 23:33, 2024)