KASKADE 7 development version
Loading...
Searching...
No Matches
Kaskade::LagrangeBase< dim > Class Template Reference

#include <lagrangeshapefunctions.hh>

Inheritance diagram for Kaskade::LagrangeBase< dim >:
Kaskade::EquidistantLagrange< dim, Kaskade::ScalarTraits< typenameGetScalar< X >::type >::double > Kaskade::LobattoGridLagrange< dimension, ctype > Kaskade::EquidistantLagrange< dim, Real > Kaskade::LobattoGridLagrange< dim, Real >

Public Member Functions

 LagrangeBase (int order)
 Constructor.
int size () const
 The number of Lagrange polynomials.
int order () const
 The polynomial ansatz order of this Lagrange basis.
std::array< int, dim+1 > index (int i) const

Protected Attributes

int myOrder
std::vector< std::array< int, dim+1 > > ls

Detailed Description

template<int dim>
class Kaskade::LagrangeBase< dim >

Definition at line 267 of file lagrangeshapefunctions.hh.

Constructor & Destructor Documentation

◆ LagrangeBase()

template<int dim>
Kaskade::LagrangeBase< dim >::LagrangeBase ( int order)

Constructor.

Parameters
lthe barycentric index of the shape function with nonnegative entries. The order of the shape function is \( p = \sum_{i=0}^d l_i \).

Member Function Documentation

◆ index()

template<int dim>
std::array< int, dim+1 > Kaskade::LagrangeBase< dim >::index ( int i) const
inline

Definition at line 293 of file lagrangeshapefunctions.hh.

◆ order()

template<int dim>
int Kaskade::LagrangeBase< dim >::order ( ) const
inline

The polynomial ansatz order of this Lagrange basis.

Definition at line 288 of file lagrangeshapefunctions.hh.

Referenced by Kaskade::EquidistantLagrange< dim, Real >::EquidistantLagrange(), and LagrangeBase().

◆ size()

template<int dim>
int Kaskade::LagrangeBase< dim >::size ( ) const
inline

The number of Lagrange polynomials.

Definition at line 280 of file lagrangeshapefunctions.hh.

Member Data Documentation

◆ ls

template<int dim>
std::vector<std::array<int,dim+1> > Kaskade::LagrangeBase< dim >::ls
protected

Definition at line 300 of file lagrangeshapefunctions.hh.

Referenced by index(), and size().

◆ myOrder

template<int dim>
int Kaskade::LagrangeBase< dim >::myOrder
protected

Definition at line 299 of file lagrangeshapefunctions.hh.

Referenced by order().


The documentation for this class was generated from the following file: