![]() |
Dune-Functions 2.12-git
|
Loading...
Searching...
No Matches
lagrangedgbasis.hh
Go to the documentation of this file.
78 class ImplementedLagrangeDGFiniteElements : public Dune::Impl::ImplementedLagrangeFiniteElements<D, RR, dim, compileTimeOrder>
89 std::make_pair(std::get<0>(indexLFEPair), [lfe = std::get<1>(indexLFEPair)()]() { return DG<std::decay_t<decltype(lfe)>>(lfe); })...
96 using LagrangeDGLocalFiniteElementCache = LocalFiniteElementVariantCache<ImplementedLagrangeDGFiniteElements<D,RR,dim, compileTimeOrder>>;
106 constexpr auto type = Dune::GeometryType(Dune::Capabilities::hasSingleGeometryType<typename GV::Grid>::topologyId, GV::dimension);
108 return Dune::MetaType<SingleLocalFiniteElementCache<DG<Dune::LagrangeSimplexLocalFiniteElement<D,R,dim,k>>>>{};
110 return Dune::MetaType<SingleLocalFiniteElementCache<DG<Dune::LagrangeCubeLocalFiniteElement<D,R,dim,k>>>>{};
112 return Dune::MetaType<SingleLocalFiniteElementCache<DG<Dune::LagrangePrismLocalFiniteElement<D,R,k>>>>{};
114 return Dune::MetaType<SingleLocalFiniteElementCache<DG<Dune::LagrangePyramidLocalFiniteElement<D,R,k>>>>{};
static constexpr IntegralRange< T > range(T from, T to) noexcept
size_type dim() const
#define DUNE_THROW(E,...)
constexpr auto get(std::integer_sequence< T, II... >, std::integral_constant< std::size_t, pos >={})
constexpr bool isPyramid() const
constexpr bool isTetrahedron() const
constexpr bool isPrism() const
constexpr unsigned int dim() const
constexpr bool isTriangle() const
constexpr bool isLine() const
constexpr bool isQuadrilateral() const
constexpr bool isHexahedron() const
Index index(const EntityType &e) const
T apply(T... args)
size_type size() const
Obtain the number of basis function in the local node.
Definition nodes.hh:158
Global basis for given pre-basis.
Definition defaultglobalbasis.hh:53
Definition lagrangedgbasis.hh:48
const Element & element() const
Return current element, throw if unbound.
Definition lagrangedgbasis.hh:141
void bind(const Element &e)
Bind to element.
Definition lagrangedgbasis.hh:156
const FiniteElement * finiteElement_
Definition lagrangedgbasis.hh:166
typename FiniteElementCache::FiniteElementType FiniteElement
Definition lagrangedgbasis.hh:126
const FiniteElement & finiteElement() const
Return the LocalFiniteElement for the element we are bound to.
Definition lagrangedgbasis.hh:150
LagrangeDGNode(unsigned int order)
Constructor with a run-time order.
Definition lagrangedgbasis.hh:134
typename GV::template Codim< 0 >::Entity Element
Definition lagrangedgbasis.hh:125
LagrangeDGNode()
Constructor without order (uses the compile-time value)
Definition lagrangedgbasis.hh:129
PreBasis implementation for a Lagrangean-DG finite element space.
Definition lagrangedgbasis.hh:183
Node makeNode() const
Create tree node.
Definition lagrangedgbasis.hh:247
LagrangeDGPreBasis(const GridView &gv, unsigned int order)
Constructor for a given grid view object.
Definition lagrangedgbasis.hh:238
typename Base::size_type size_type
Definition lagrangedgbasis.hh:217
unsigned int order() const
Polynomial order used in the local Lagrange finite-elements.
Definition lagrangedgbasis.hh:265
LagrangeDGPreBasis(const GridView &gv)
Constructor for a given grid view object.
Definition lagrangedgbasis.hh:226
It indices(const Node &node, It it) const
Definition lagrangedgbasis.hh:253
GV GridView
The grid view that the FE space is defined on.
Definition lagrangedgbasis.hh:216
Definition nodes.hh:214
A generic MixIn class for PreBasis with flat indices computed from a mapper.
Definition leafprebasismappermixin.hh:62
Dune::MultipleCodimMultipleGeomTypeMapper< GridView > mapper_
Definition leafprebasismappermixin.hh:133
std::size_t size_type
Type used for index digits.
Definition leafprebasismappermixin.hh:71
auto lagrangeDG()
Create a pre-basis factory that can create a LagrangeDG pre-basis.
Definition lagrangedgbasis.hh:288
T make_pair(T... args)
T make_tuple(T... args)
