KASKADE 7 development version
Public Member Functions | Protected Attributes | List of all members
Kaskade::LagrangeBase< dim > Class Template Reference

#include <lagrangeshapefunctions.hh>

Detailed Description

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

Definition at line 267 of file lagrangeshapefunctions.hh.

Inheritance diagram for Kaskade::LagrangeBase< dim >:
Kaskade::EquidistantLagrange< dim, double > Kaskade::EquidistantLagrange< dim, Real > Kaskade::LobattoGridLagrange< dim, Real >

Public Member Functions

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

Protected Attributes

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

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.

◆ 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

◆ myOrder

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

Definition at line 299 of file lagrangeshapefunctions.hh.

Referenced by Kaskade::LagrangeBase< dim >::order().


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