dune-fem 2.8.0
Loading...
Searching...
No Matches
functionspaceinterface.hh
Go to the documentation of this file.
1#ifndef DUNE_FEM_FUNCTIONSPACEINTERFACE_HH
2#define DUNE_FEM_FUNCTIONSPACEINTERFACE_HH
3
4#include <dune/common/fvector.hh>
5#include <dune/common/fmatrix.hh>
7
8namespace Dune
9{
10
11 namespace Fem
12 {
13
38 template< typename FunctionSpaceTraits >
40 {
41 public:
43 enum
44 {
46 dimDomain = FunctionSpaceTraits :: dimDomain,
48 dimRange = FunctionSpaceTraits :: dimRange
49 };
50
51 // for compatibility with GrapDataDisplay (see dune-grid), we also export
52 // the following two values:
53 enum
54 {
57 };
58
60 typedef typename FunctionSpaceTraits::DomainFieldType DomainFieldType;
61
63 typedef typename FunctionSpaceTraits::RangeFieldType RangeFieldType;
64
67 typedef typename FunctionSpaceTraits::DomainType DomainType;
68
71 typedef typename FunctionSpaceTraits::RangeType RangeType;
72
75 typedef typename FunctionSpaceTraits::LinearMappingType JacobianRangeType;
76
80
82 typedef typename FunctionSpaceTraits :: ScalarFunctionSpaceType
84 };
85
86 } // namespace Fem
87
88} // namespace Dune
89
90#endif // #ifndef DUNE_FEM_FUNCTIONSPACEINTERFACE_HH
Definition: bindguard.hh:11
Definition: explicitfieldvector.hh:75
interface for an arbitrary function space
Definition: functionspaceinterface.hh:40
ExplicitFieldVector< FieldMatrix< RangeFieldType, dimDomain, dimDomain >, dimRange > HessianRangeType
Intrinsic type used for the hessian values has a Dune::FieldMatrix type interface.
Definition: functionspaceinterface.hh:79
FunctionSpaceTraits::DomainFieldType DomainFieldType
Intrinsic type used for values in the domain field (usually a double)
Definition: functionspaceinterface.hh:60
FunctionSpaceTraits::RangeType RangeType
Type of range vector (using type of range field) has a Dune::FieldVector type interface.
Definition: functionspaceinterface.hh:71
@ dimDomain
dimension of domain vector space
Definition: functionspaceinterface.hh:46
@ dimRange
dimension of range vector space
Definition: functionspaceinterface.hh:48
FunctionSpaceTraits::LinearMappingType JacobianRangeType
Intrinsic type used for the jacobian values has a Dune::FieldMatrix type interface.
Definition: functionspaceinterface.hh:75
FunctionSpaceTraits::DomainType DomainType
Type of domain vector (using type of domain field) has a Dune::FieldVector type interface.
Definition: functionspaceinterface.hh:67
FunctionSpaceTraits::RangeFieldType RangeFieldType
Intrinsic type used for values in the range field (usually a double)
Definition: functionspaceinterface.hh:63
FunctionSpaceTraits::ScalarFunctionSpaceType ScalarFunctionSpaceType
corresponding scalar function space
Definition: functionspaceinterface.hh:83
@ DimDomain
Definition: functionspaceinterface.hh:55
@ DimRange
Definition: functionspaceinterface.hh:56