![]() |
Dune-Functions 2.11
|
Loading...
Searching...
No Matches
rannacherturekbasis.hh
Go to the documentation of this file.
78 DUNE_THROW(Dune::NotImplemented, "Rannacher-Turek or Crouzeix-Raviart elements are only implemented for grids with simplex or cube elements.");
144 constexpr static bool hasFixedElementType = Capabilities::hasSingleGeometryType<typename GV::Grid>::v;
149 constexpr static unsigned int topologyId = Capabilities::hasSingleGeometryType<typename GV::Grid>::topologyId; // meaningless if hasFixedElementType is false
auto rannacherTurek()
Create a pre-basis factory that can create a Rannacher-Turek pre-basis.
Definition rannacherturekbasis.hh:206
iterator end()
size_type dim() const
#define DUNE_THROW(E,...)
constexpr bool isCube() const
constexpr unsigned int subEntity() const noexcept
Global basis for given pre-basis.
Definition defaultglobalbasis.hh:53
A generic MixIn class for PreBasis.
Definition leafprebasismixin.hh:36
size_type size() const
Obtain the number of basis function in the local node.
Definition nodes.hh:162
Definition nodes.hh:218
Definition rannacherturekbasis.hh:140
void bind(const Element &e)
Bind to element.
Definition rannacherturekbasis.hh:181
FiniteElement finiteElement_
Definition rannacherturekbasis.hh:192
typename GV::template Codim< 0 >::Entity Element
Definition rannacherturekbasis.hh:155
RannacherTurekNode()
Definition rannacherturekbasis.hh:160
const Element * element_
Definition rannacherturekbasis.hh:193
const FiniteElement & finiteElement() const
Return the LocalFiniteElement for the element we are bound to.
Definition rannacherturekbasis.hh:175
const Element & element() const
Return current element, throw if unbound.
Definition rannacherturekbasis.hh:166
Pre-basis for a Rannacher-Turek basis.
Definition rannacherturekbasis.hh:58
void initializeIndices()
Initialize the global indices.
Definition rannacherturekbasis.hh:82
std::size_t size_type
Type used for indices and size information.
Definition rannacherturekbasis.hh:67
Node makeNode() const
Create tree node.
Definition rannacherturekbasis.hh:100
void update(const GridView &gv)
Update the stored grid view, to be called if the grid has changed.
Definition rannacherturekbasis.hh:92
It indices(const Node &node, It it) const
Definition rannacherturekbasis.hh:118
GV GridView
The grid view that the FE basis is defined on.
Definition rannacherturekbasis.hh:64
size_type dimension() const
Same as size(prefix) with empty prefix.
Definition rannacherturekbasis.hh:106
RannacherTurekPreBasis(const GridView &gv)
Constructor for a given grid view object.
Definition rannacherturekbasis.hh:73
const GridView & gridView() const
Obtain the grid view that the basis is defined on.
Definition rannacherturekbasis.hh:86
size_type maxNodeSize() const
Get the maximal number of DOFs associated to node for any element.
Definition rannacherturekbasis.hh:112
GridView gridView_
Definition rannacherturekbasis.hh:132
