24#ifndef DUMUX_DISCRETIZATION_PQ1BUBBLE_FECACHE_HH
25#define DUMUX_DISCRETIZATION_PQ1BUBBLE_FECACHE_HH
29#include <dune/common/exceptions.hh>
30#include <dune/geometry/type.hh>
32#include <dune/localfunctions/common/virtualinterface.hh>
33#include <dune/localfunctions/common/virtualwrappers.hh>
39template<
class CoordScalar,
class Scalar,
unsigned int dim>
42 static_assert(dim == 2 || dim == 3,
"P1/Q1 bubble FE spaces only implemented for 2D and 3D grids");
50 using FiniteElementType = Dune::LocalFiniteElementVirtualInterface<typename P1Bubble::Traits::LocalBasisType::Traits>;
61 return *p1BubbleBasis_;
63 return *q1BubbleBasis_;
65 DUNE_THROW(Dune::NotImplemented,
66 "Lagrange bubble local finite element for geometry type " << gt
71 std::unique_ptr<FiniteElementType> p1BubbleBasis_;
72 std::unique_ptr<FiniteElementType> q1BubbleBasis_;
Evaluate P1/Q1 basis with bubble function.
Adaption of the non-isothermal two-phase two-component flow model to problems with CO2.
Definition: adapt.hh:29
Definition: deprecated.hh:149
Definition: pq1bubblefecache.hh:41
const FiniteElementType & get(const Dune::GeometryType >) const
Get local finite element for given GeometryType.
Definition: pq1bubblefecache.hh:58
Dune::LocalFiniteElementVirtualInterface< typename P1Bubble::Traits::LocalBasisType::Traits > FiniteElementType
Definition: pq1bubblefecache.hh:50
PQ1BubbleFECache()
Definition: pq1bubblefecache.hh:52
P1/Q1 + Bubble finite element.
Definition: pq1bubblelocalfiniteelement.hh:297