DUNE PDELab (2.7)

rt1cube3dfem.hh
1// -*- tab-width: 4; indent-tabs-mode: nil -*-
2#ifndef DUNE_PDELAB_FINITEELEMENTMAP_RT1CUBE3DFEM_HH
3#define DUNE_PDELAB_FINITEELEMENTMAP_RT1CUBE3DFEM_HH
4
5#include <vector>
6#include <dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh>
7#include "finiteelementmap.hh"
8
9namespace Dune {
10 namespace PDELab {
11
14 template<typename GV, typename D, typename R>
17 GV,
18 Dune::RT1Cube3DLocalFiniteElement<D,R>,
19 RT1Cube3DLocalFiniteElementMap<GV,D,R>,
20 64>
21 {
23
24 public:
27
31 GV,
34 64>(gv)
35 {}
36
37 static constexpr bool fixedSize()
38 {
39 return true;
40 }
41
42 static constexpr bool hasDOFs(int codim)
43 {
44 return (codim == 0 || codim == 1);
45 }
46
47 static constexpr std::size_t size(GeometryType gt)
48 {
49 switch (gt.dim())
50 {
51 case 3:
52 return 12;
53 case 2:
54 return 4;
55 default:
56 return 0;
57 }
58 }
59
60 static constexpr std::size_t maxLocalSize()
61 {
62 return 36;
63 }
64
65 };
66 } // end namespace PDELab
67} // end namespace Dune
68
69#endif // DUNE_PDELAB_FINITEELEMENTMAP_RT1CUBE3DFEM_HH
Definition: rt1cube3dfem.hh:21
LocalFiniteElementMapTraits< FE > Traits
export type of the signature
Definition: rt1cube3dfem.hh:26
RT1Cube3DLocalFiniteElementMap(const GV &gv)
Use when Imp has a standard constructor.
Definition: rt1cube3dfem.hh:29
Definition: finiteelementmap.hh:223
First order Raviart-Thomas shape functions on cubes.
Definition: raviartthomas1cube3d.hh:25
bool gt(const T &first, const T &second, typename EpsilonType< T >::Type epsilon)
test if first greater than second
Definition: float_cmp.cc:156
Dune namespace.
Definition: alignedallocator.hh:14
collect types exported by a finite element map
Definition: finiteelementmap.hh:38
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Jul 15, 22:36, 2024)