DUNE-FEM (unstable)

functionspaceinterface.hh
1#ifndef DUNE_FEM_FUNCTIONSPACEINTERFACE_HH
2#define DUNE_FEM_FUNCTIONSPACEINTERFACE_HH
3
6#include <dune/fem/common/explicitfieldvector.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 {
55 DimDomain = dimDomain,
56 DimRange = dimRange
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: 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
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:13
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)