|
dune-functions 2.8.0
|
Loading...
Searching...
No Matches
rannacherturekbasis.hh
Go to the documentation of this file.
83 DUNE_THROW(Dune::NotImplemented, "Rannacher-Turek or Crouzeix-Raviart elements are only implemented for grids with simplex or cube elements.");
176 constexpr static bool hasFixedElementType = Capabilities::hasSingleGeometryType<typename GV::Grid>::v;
181 constexpr static unsigned int topologyId = Capabilities::hasSingleGeometryType<typename GV::Grid>::topologyId; // meaningless if hasFixedElementType is false
280using RannacherTurekBasis = DefaultGlobalBasis<RannacherTurekPreBasis<GV, FlatMultiIndex<std::size_t> > >;
auto rannacherTurek()
Create a pre-basis factory that can create a Rannacher-Turek pre-basis.
Definition rannacherturekbasis.hh:258
iterator end()
size_type dim() const
static constexpr size_type size()
#define DUNE_THROW(E, m)
constexpr bool isCube() const
size_type size() const
unsigned int subEntity() const
Global basis for given pre-basis.
Definition defaultglobalbasis.hh:47
Definition nodes.hh:184
Definition rannacherturekbasis.hh:172
void bind(const Element &e)
Bind to element.
Definition rannacherturekbasis.hh:213
FiniteElement finiteElement_
Definition rannacherturekbasis.hh:224
typename GV::template Codim< 0 >::Entity Element
Definition rannacherturekbasis.hh:187
RannacherTurekNode()
Definition rannacherturekbasis.hh:192
const Element * element_
Definition rannacherturekbasis.hh:225
const FiniteElement & finiteElement() const
Return the LocalFiniteElement for the element we are bound to.
Definition rannacherturekbasis.hh:207
const Element & element() const
Return current element, throw if unbound.
Definition rannacherturekbasis.hh:198
Pre-basis for a Rannacher-Turek basis.
Definition rannacherturekbasis.hh:54
Impl::DefaultNodeIndexSet< RannacherTurekPreBasis > IndexSet
Type of created tree node index set.
Definition rannacherturekbasis.hh:69
size_type maxNodeSize() const
Get the maximal number of DOFs associated to node for any element.
Definition rannacherturekbasis.hh:144
It indices(const Node &node, It it) const
Definition rannacherturekbasis.hh:150
IndexSet makeIndexSet() const
Create tree node index set.
Definition rannacherturekbasis.hh:119
std::size_t size_type
Type used for indices and size information.
Definition rannacherturekbasis.hh:63
size_type dimension() const
Get the total dimension of the space spanned by this basis.
Definition rannacherturekbasis.hh:138
GV GridView
The grid view that the FE basis is defined on.
Definition rannacherturekbasis.hh:60
size_type size() const
Same as size(prefix) with empty prefix.
Definition rannacherturekbasis.hh:125
MI MultiIndex
Type used for global numbering of the basis vectors.
Definition rannacherturekbasis.hh:72
size_type size(const SizePrefix prefix) const
Return number of possible values for next position in multi index.
Definition rannacherturekbasis.hh:131
void update(const GridView &gv)
Update the stored grid view, to be called if the grid has changed.
Definition rannacherturekbasis.hh:97
Node makeNode() const
Create tree node.
Definition rannacherturekbasis.hh:105
GridView gridView_
Definition rannacherturekbasis.hh:164
const GridView & gridView() const
Obtain the grid view that the basis is defined on.
Definition rannacherturekbasis.hh:91
void initializeIndices()
Initialize the global indices.
Definition rannacherturekbasis.hh:87
RannacherTurekPreBasis(const GridView &gv)
Constructor for a given grid view object.
Definition rannacherturekbasis.hh:78
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8