Loading [MathJax]/extensions/tex2jax.js

DUNE-FUNCTIONS (unstable)

PreBasis implementation for a Lagrangean-DG finite element space. More...

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

Public Types

using GridView = GV
 The grid view that the FE space is defined on.
 

Public Member Functions

 LagrangeDGPreBasis (const GridView &gv)
 Constructor for a given grid view object. More...
 
 LagrangeDGPreBasis (const GridView &gv, unsigned int order)
 Constructor for a given grid view object. More...
 
Node makeNode () const
 Create tree node.
 
unsigned int order () const
 Polynomial order used in the local Lagrange finite-elements.
 
void initializeIndices ()
 Initialize the global index information.
 
const GridViewgridView () const
 Export the stored GridView.
 
void update (const GridView &gv)
 Update the stored GridView.
 
size_type dimension () const
 Return total number of basis functions.
 
size_type maxNodeSize () const
 Return maximal number of basis functions per element.
 
template<class Node , class It >
It indices (const Node &node, It it) const
 Fill cache with global indices of DOFs associated to the given bound node.
 
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.
 

Detailed Description

template<typename GV, int k, typename R = double>
class Dune::Functions::LagrangeDGPreBasis< GV, k, R >

PreBasis implementation for a Lagrangean-DG finite element space.

Template Parameters
GVThe grid view that the FE basis is defined on
kThe order of ansatz functions; -1 means 'order determined at run-time'
RRange type used for shape function values

Constructor & Destructor Documentation

◆ LagrangeDGPreBasis() [1/2]

template<typename GV , int k, typename R = double>
Dune::Functions::LagrangeDGPreBasis< GV, k, R >::LagrangeDGPreBasis ( const GridView gv)
inline

Constructor for a given grid view object.

This constructor requires that the order is given at compile-time using k>=0

◆ LagrangeDGPreBasis() [2/2]

template<typename GV , int k, typename R = double>
Dune::Functions::LagrangeDGPreBasis< GV, k, R >::LagrangeDGPreBasis ( const GridView gv,
unsigned int  order 
)
inline

Constructor for a given grid view object.

This constructor has to be used to set the order dynamically which is enables using k<0.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Mar 12, 23:28, 2025)