dune-pdelab 2.7-git
Loading...
Searching...
No Matches
rannacherturekfem.hh
Go to the documentation of this file.
1// -*- tab-width: 4; indent-tabs-mode: nil -*-
2#ifndef DUNE_PDELAB_FINITEELEMENTMAP_RANNACHERTUREKFEM_HH
3#define DUNE_PDELAB_FINITEELEMENTMAP_RANNACHERTUREKFEM_HH
4
5#include<dune/localfunctions/rannacherturek.hh>
7
8namespace Dune {
9 namespace PDELab {
10
13 template<class D, class R, std::size_t d>
15 : public SimpleLocalFiniteElementMap<RannacherTurekLocalFiniteElement<D,R,d>,d>
16 {
17 public:
18
19 static constexpr bool fixedSize()
20 {
21 return true;
22 }
23
24 static constexpr bool hasDOFs(int codim)
25 {
26 return codim == 1;
27 }
28
29 static constexpr std::size_t size(GeometryType gt)
30 {
31 return gt == GeometryTypes::line ? 1 : 0;
32 }
33
34 static constexpr std::size_t maxLocalSize()
35 {
36 return 4;
37 }
38
39 };
40 } // namespace PDELab
41} // namespace Dune
42
43#endif // DUNE_PDELAB_FINITEELEMENTMAP_RANNACHERTUREKFEM_HH
For backward compatibility – Do not use this!
Definition adaptivity.hh:28
simple implementation where all entities have the same finite element
Definition finiteelementmap.hh:101
Definition rannacherturekfem.hh:16
static constexpr bool hasDOFs(int codim)
Definition rannacherturekfem.hh:24
static constexpr std::size_t maxLocalSize()
Definition rannacherturekfem.hh:34
static constexpr std::size_t size(GeometryType gt)
Definition rannacherturekfem.hh:29
static constexpr bool fixedSize()
Definition rannacherturekfem.hh:19