dune-localfunctions
2.10
Loading...
Searching...
No Matches
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
// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
4
// SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
5
6
#ifndef DUNE_LOCALFUNCTIONS_WHITNEY_EDGES0_5_COMMON_HH
7
#define DUNE_LOCALFUNCTIONS_WHITNEY_EDGES0_5_COMMON_HH
8
9
#include <cstddef>
10
11
#include <dune/geometry/dimension.hh>
12
#include <dune/geometry/referenceelements.hh>
13
#include <dune/geometry/type.hh>
14
15
namespace
Dune
{
16
22
template
<std::
size_t
dim,
class
DF =
double
>
23
struct
EdgeS0_5Common
{
25
using
RefElem
=
26
decltype
(referenceElement(DF{}, GeometryTypes::simplex(dim),
27
Dim<dim>{}));
28
30
RefElem
refelem
= referenceElement(DF{}, GeometryTypes::simplex(dim),
31
Dim<dim>{});
32
34
38
std::size_t
s
=
refelem
.size(dim-1);
39
};
40
41
}
// namespace Dune
42
43
#endif
// DUNE_LOCALFUNCTIONS_WHITNEY_EDGES0_5_COMMON_HH
Dune
Definition
bdfmcube.hh:18
Dune::EdgeS0_5Common
Common base class for edge elements.
Definition
common.hh:23
Dune::EdgeS0_5Common< dim, typename Geometry::ctype >::RefElem
decltype(referenceElement(typename Geometry::ctype{}, GeometryTypes::simplex(dim), Dim< dim >{})) RefElem
Definition
common.hh:25
Dune::EdgeS0_5Common< dim, typename Geometry::ctype >::refelem
RefElem refelem
Definition
common.hh:30
Dune::EdgeS0_5Common< dim, typename Geometry::ctype >::s
std::size_t s
Definition
common.hh:38
Generated by
1.15.0