dune-pdelab 2.7-git
Loading...
Searching...
No Matches
finiteelement/pk1d.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// Pk in one dimension with k as runtime variable
5
6#ifndef DUNE_PDELAB_FINITEELEMENT_PK1D_HH
7#define DUNE_PDELAB_FINITEELEMENT_PK1D_HH
8
9#warning This file is deprecated. Please use LagrangeLocalFiniteElement from dune-localfunctions directly!
10
11#include <dune/geometry/type.hh>
12
13#include <dune/localfunctions/lagrange.hh>
14#include <dune/localfunctions/lagrange/equidistantpoints.hh>
15
16namespace Dune {
17
26 template<class D, class R>
28 : public LagrangeLocalFiniteElement<EquidistantPointSet,1,D,R>
29 {
30
31 using Base = LagrangeLocalFiniteElement<EquidistantPointSet,1,D,R>;
32 public:
33
34 Pk1dLocalFiniteElement (std::size_t k)
35 : Base(GeometryTypes::cube(1), k)
36 {}
37
38 };
39}
40
41#endif // DUNE_PDELAB_FINITEELEMENT_PK1D_HH
For backward compatibility – Do not use this!
Definition adaptivity.hh:28
Define the Pk Lagrange basis functions in 1d on the reference interval.
Definition finiteelement/pk1d.hh:29
Pk1dLocalFiniteElement(std::size_t k)
Definition finiteelement/pk1d.hh:34