DUNE-FEM (unstable)

basisfunctionsets.hh
1#ifndef DUNE_FEM_SPACE_FINITEVOLUME_BASISFUNCTIONSETS_HH
2#define DUNE_FEM_SPACE_FINITEVOLUME_BASISFUNCTIONSETS_HH
3
4#include "basisfunctionset.hh"
5
6namespace Dune
7{
8
9 namespace Fem
10 {
11
12 // FiniteVolumeBasisFunctionSets
13 // -----------------------------
14
15 template< class Entity, class Range >
16 class FiniteVolumeBasisFunctionSets
17 {
18 typedef FiniteVolumeBasisFunctionSets< Entity, Range > ThisType;
19
20 public:
22 typedef FiniteVolumeBasisFunctionSet< Entity, Range > BasisFunctionSetType;
24 typedef typename BasisFunctionSetType::EntityType EntityType;
25
30 FiniteVolumeBasisFunctionSets () {}
31
38 FiniteVolumeBasisFunctionSets ( const ThisType & ) = default;
39
40 FiniteVolumeBasisFunctionSets &operator= ( const ThisType & ) = default;
41
49 static constexpr int order () { return 0; }
50
52 static constexpr int order ( const EntityType & ) { return 0; }
53
55 static BasisFunctionSetType basisFunctionSet ( const EntityType &entity )
56 {
57 return BasisFunctionSetType( entity );
58 }
59
61 };
62
63 } // namespace Fem
64
65} // namespace Dune
66
67#endif // #ifndef DUNE_FEM_SPACE_FINITEVOLUME_BASISFUNCTIONSETS_HH
Dune namespace.
Definition: alignedallocator.hh:13
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)