Opm::Elasticity::PNShapeFunctionSet< dim > Class Template Reference

#include <shapefunctions.hpp>

Public Types

typedef LagrangeCardinalFunction< double, double > CardinalFunction
 
typedef TensorProductFunction< double, double, CardinalFunction, dim > ShapeFunction
 

Public Member Functions

 PNShapeFunctionSet (int n1, int n2, int n3=0)
 
const ShapeFunctionoperator[] (int i) const
 Obtain a given shape function. More...
 
int size ()
 

Protected Member Functions

double legendre (double x, int n)
 
double legendreDerivative (double x, int n)
 
std::vector< double > gaussLegendreGrid (int n)
 
std::vector< double > gaussLobattoLegendreGrid (int n)
 

Protected Attributes

std::vector< std::vector< CardinalFunction > > cfuncs
 
std::vector< ShapeFunctionf
 

Member Typedef Documentation

◆ CardinalFunction

template<int dim>
typedef LagrangeCardinalFunction<double, double> Opm::Elasticity::PNShapeFunctionSet< dim >::CardinalFunction

◆ ShapeFunction

template<int dim>
typedef TensorProductFunction<double, double, CardinalFunction, dim> Opm::Elasticity::PNShapeFunctionSet< dim >::ShapeFunction

Constructor & Destructor Documentation

◆ PNShapeFunctionSet()

Member Function Documentation

◆ gaussLegendreGrid()

template<int dim>
std::vector< double > Opm::Elasticity::PNShapeFunctionSet< dim >::gaussLegendreGrid ( int  n)
inlineprotected

◆ gaussLobattoLegendreGrid()

◆ legendre()

template<int dim>
double Opm::Elasticity::PNShapeFunctionSet< dim >::legendre ( double  x,
int  n 
)
inlineprotected

◆ legendreDerivative()

template<int dim>
double Opm::Elasticity::PNShapeFunctionSet< dim >::legendreDerivative ( double  x,
int  n 
)
inlineprotected

◆ operator[]()

template<int dim>
const ShapeFunction & Opm::Elasticity::PNShapeFunctionSet< dim >::operator[] ( int  i) const
inline

Obtain a given shape function.

Parameters
[in]iThe requested shape function

References Opm::Elasticity::PNShapeFunctionSet< dim >::f.

◆ size()

template<int dim>
int Opm::Elasticity::PNShapeFunctionSet< dim >::size ( )
inline

Member Data Documentation

◆ cfuncs

template<int dim>
std::vector< std::vector<CardinalFunction> > Opm::Elasticity::PNShapeFunctionSet< dim >::cfuncs
protected

◆ f


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