dune-functions
2.7.0
|
Pre-basis for a Rannacher-Turek basis. More...
#include <dune/functions/functionspacebases/rannacherturekbasis.hh>
Public Types | |
using | GridView = GV |
The grid view that the FE basis is defined on. More... | |
using | size_type = std::size_t |
Type used for indices and size information. More... | |
using | Node = RannacherTurekNode< GV > |
Template mapping root tree path to type of created tree node. More... | |
using | IndexSet = RannacherTurekNodeIndexSet< GV, MI > |
Template mapping root tree path to type of created tree node index set. More... | |
using | MultiIndex = MI |
Type used for global numbering of the basis vectors. More... | |
using | SizePrefix = Dune::ReservedVector< size_type, 1 > |
Type used for prefixes handed to the size() method. More... | |
Public Member Functions | |
RannacherTurekPreBasis (const GridView &gv) | |
Constructor for a given grid view object. More... | |
void | initializeIndices () |
Initialize the global indices. More... | |
const GridView & | gridView () const |
Obtain the grid view that the basis is defined on. More... | |
void | update (const GridView &gv) |
Update the stored grid view, to be called if the grid has changed. More... | |
Node | makeNode () const |
Create tree node. More... | |
IndexSet | makeIndexSet () const |
Create tree node index set. More... | |
size_type | size () const |
Same as size(prefix) with empty prefix. More... | |
size_type | size (const SizePrefix prefix) const |
Return number of possible values for next position in multi index. More... | |
size_type | dimension () const |
Get the total dimension of the space spanned by this basis. More... | |
size_type | maxNodeSize () const |
Get the maximal number of DOFs associated to node for any element. More... | |
Protected Attributes | |
GridView | gridView_ |
Pre-basis for a Rannacher-Turek basis.
These are Crouzeix-Raviart-elements for quadrilateral elements. See Rolf Rannacher and Stefan Turek. Simple nonconforming quadrilateral Stokes element. Numerical Methods for Partial Differential Equations, 8:97–111, 1992.
GV | The grid view that the FE basis is defined on |
MI | Type to be used for multi-indices |
using Dune::Functions::RannacherTurekPreBasis< GV, MI >::GridView = GV |
The grid view that the FE basis is defined on.
using Dune::Functions::RannacherTurekPreBasis< GV, MI >::IndexSet = RannacherTurekNodeIndexSet<GV, MI> |
Template mapping root tree path to type of created tree node index set.
using Dune::Functions::RannacherTurekPreBasis< GV, MI >::MultiIndex = MI |
Type used for global numbering of the basis vectors.
using Dune::Functions::RannacherTurekPreBasis< GV, MI >::Node = RannacherTurekNode<GV> |
Template mapping root tree path to type of created tree node.
using Dune::Functions::RannacherTurekPreBasis< GV, MI >::size_type = std::size_t |
Type used for indices and size information.
using Dune::Functions::RannacherTurekPreBasis< GV, MI >::SizePrefix = Dune::ReservedVector<size_type, 1> |
Type used for prefixes handed to the size() method.
|
inline |
Constructor for a given grid view object.
|
inline |
Get the total dimension of the space spanned by this basis.
|
inline |
Obtain the grid view that the basis is defined on.
|
inline |
Initialize the global indices.
|
inline |
Create tree node index set.
Create an index set suitable for the tree node obtained by makeNode().
|
inline |
Create tree node.
|
inline |
Get the maximal number of DOFs associated to node for any element.
|
inline |
Same as size(prefix) with empty prefix.
|
inline |
Return number of possible values for next position in multi index.
|
inline |
Update the stored grid view, to be called if the grid has changed.
|
protected |