Dune Core Modules (2.10.0)

A pre-basis for a PQ-lagrange bases with given order. More...

#include <dune/functions/functionspacebases/lagrangebasis.hh>

Public Types

using GridView = GV
 The grid view that the FE basis is defined on.
 
using size_type = std::size_t
 Type used for indices and size information.
 
using Node = LagrangeNode< GV, k, R >
 Template mapping root tree path to type of created tree node.
 

Public Member Functions

 LagrangePreBasis (const GridView &gv)
 Constructor for a given grid view object with compile-time order.
 
 LagrangePreBasis (const GridView &gv, unsigned int order)
 Constructor for a given grid view object and run-time order.
 
void initializeIndices ()
 Initialize the global indices.
 
const GridViewgridView () const
 Obtain the grid view that the basis is defined on.
 
void update (const GridView &gv)
 Update the stored grid view, to be called if the grid has changed.
 
Node makeNode () const
 Create tree node.
 
size_type dimension () const
 Get the total dimension of the space spanned by this basis.
 
size_type maxNodeSize () const
 Get the maximal number of DOFs associated to node for any element.
 
unsigned int order () const
 Polynomial order used in the local Lagrange finite-elements.
 
size_type size (const SizePrefix &prefix) const
 Return number of possible values for next position in multi index.
 
size_type size () const
 Get the total dimension of the space spanned by this basis.
 
auto containerDescriptor () const
 Return a flat container-descriptor.
 

Static Public Attributes

static constexpr size_type maxMultiIndexSize
 Maximal length of global multi-indices.
 
static constexpr size_type minMultiIndexSize
 Minimal length of global multi-indices.
 
static constexpr size_type multiIndexBufferSize
 Size required temporarily when constructing global multi-indices.
 

Protected Member Functions

size_type dofsPerSimplex (std::size_t simplexDim) const
 Number of degrees of freedom assigned to a simplex (without the ones assigned to its faces!)
 
size_type dofsPerCube (std::size_t cubeDim) const
 Number of degrees of freedom assigned to a cube (without the ones assigned to its faces!)
 
size_type computeDofsPerSimplex (std::size_t simplexDim) const
 Number of degrees of freedom assigned to a simplex (without the ones assigned to its faces!)
 
size_type computeDofsPerCube (std::size_t cubeDim) const
 Number of degrees of freedom assigned to a cube (without the ones assigned to its faces!)
 

Detailed Description

template<typename GV, int k, typename R>
class Dune::Functions::LagrangePreBasis< GV, k, R >

A pre-basis for a PQ-lagrange bases with given order.

Template Parameters
GVThe grid view that the FE basis is defined on
kThe polynomial order of ansatz functions; -1 means 'order determined at run-time'
RRange type used for shape function values
Note
This only works for certain grids. The following restrictions hold
  • If k is no larger than 2, then the grids can have any dimension
  • If k is larger than 3 then the grid must be two-dimensional
  • If k is 3, then the grid can be 3d if it is a simplex grid

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 26, 23:30, 2024)