dune-localfunctions
2.6-git
dune
localfunctions
whitney
edges0.5
common.hh
Go to the documentation of this file.
1
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2
// vi: set et ts=4 sw=2 sts=2:
3
4
#ifndef DUNE_LOCALFUNCTIONS_WHITNEY_EDGES0_5_COMMON_HH
5
#define DUNE_LOCALFUNCTIONS_WHITNEY_EDGES0_5_COMMON_HH
6
7
#include <cstddef>
8
9
#include <dune/geometry/dimension.hh>
10
#include <dune/geometry/referenceelements.hh>
11
#include <dune/geometry/type.hh>
12
13
namespace
Dune
{
14
16
template
<std::
size_t
dim,
class
DF =
double
>
17
struct
EdgeS0_5Common
{
19
using
RefElem
=
20
decltype(referenceElement(DF{}, GeometryTypes::simplex(dim),
21
Dim<dim>{}));
22
24
RefElem
refelem
= referenceElement(DF{}, GeometryTypes::simplex(dim),
25
Dim<dim>{});
26
28
32
std::size_t
s
=
refelem
.size(dim-1);
33
};
34
35
}
// namespace Dune
36
37
#endif // DUNE_LOCALFUNCTIONS_WHITNEY_EDGES0_5_COMMON_HH
Dune::EdgeS0_5Common
Common base class for edge elements.
Definition:
common.hh:17
Dune::EdgeS0_5Common::RefElem
decltype(referenceElement(DF{}, GeometryTypes::simplex(dim), Dim< dim >{})) RefElem
The type of the referenceElement.
Definition:
common.hh:21
Dune::EdgeS0_5Common::refelem
RefElem refelem
The reference element for this edge element.
Definition:
common.hh:24
Dune::EdgeS0_5Common::s
std::size_t s
The number of base functions.
Definition:
common.hh:32
Dune
Definition:
brezzidouglasmarini1cube2dlocalbasis.hh:15
Generated by
1.8.17