dune-fem  2.4.1-rc
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>
6 
7 namespace Dune
8 {
9 
10  namespace Fem
11  {
12 
37  template< typename FunctionSpaceTraits >
39  {
40  public:
42  enum
43  {
45  dimDomain = FunctionSpaceTraits :: dimDomain,
47  dimRange = FunctionSpaceTraits :: dimRange
48  };
49 
50  // for compatibility with GrapDataDisplay (see dune-grid), we also export
51  // the following two values:
52  enum
53  {
56  };
57 
59  typedef typename FunctionSpaceTraits::DomainFieldType DomainFieldType;
60 
62  typedef typename FunctionSpaceTraits::RangeFieldType RangeFieldType;
63 
66  typedef typename FunctionSpaceTraits::DomainType DomainType;
67 
70  typedef typename FunctionSpaceTraits::RangeType RangeType;
71 
74  typedef typename FunctionSpaceTraits::LinearMappingType JacobianRangeType;
75 
78  typedef FieldVector< FieldMatrix< RangeFieldType, dimDomain, dimDomain >, dimRange > HessianRangeType;
79 
81  typedef typename FunctionSpaceTraits :: ScalarFunctionSpaceType
83  };
84 
85  } // namespace Fem
86 
87 } // namespace Dune
88 
89 #endif // #ifndef DUNE_FEM_FUNCTIONSPACEINTERFACE_HH
Definition: functionspaceinterface.hh:55
FunctionSpaceTraits::RangeFieldType RangeFieldType
Intrinsic type used for values in the range field (usually a double)
Definition: functionspaceinterface.hh:62
FunctionSpaceTraits::LinearMappingType JacobianRangeType
Intrinsic type used for the jacobian values has a Dune::FieldMatrix type interface.
Definition: functionspaceinterface.hh:74
Definition: functionspaceinterface.hh:54
FieldVector< FieldMatrix< RangeFieldType, dimDomain, dimDomain >, dimRange > HessianRangeType
Intrinsic type used for the hessian values has a Dune::FieldMatrix type interface.
Definition: functionspaceinterface.hh:78
dimension of domain vector space
Definition: functionspaceinterface.hh:45
interface for an arbitrary function spaceBase class for specific function spaces. ...
Definition: functionspaceinterface.hh:38
dimension of range vector space
Definition: functionspaceinterface.hh:47
FunctionSpaceTraits::DomainFieldType DomainFieldType
Intrinsic type used for values in the domain field (usually a double)
Definition: functionspaceinterface.hh:59
Definition: coordinate.hh:4
FunctionSpaceTraits::DomainType DomainType
Type of domain vector (using type of domain field) has a Dune::FieldVector type interface.
Definition: functionspaceinterface.hh:66
FunctionSpaceTraits::RangeType RangeType
Type of range vector (using type of range field) has a Dune::FieldVector type interface.
Definition: functionspaceinterface.hh:70
FunctionSpaceTraits::ScalarFunctionSpaceType ScalarFunctionSpaceType
corresponding scalar function space
Definition: functionspaceinterface.hh:82