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

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

Constructor & Destructor Documentation

Member Function Documentation

template<int dim>
std::vector<double> Opm::Elasticity::PNShapeFunctionSet< dim >::gaussLegendreGrid ( int  n)
inlineprotected
template<int dim>
double Opm::Elasticity::PNShapeFunctionSet< dim >::legendre ( double  x,
int  n 
)
inlineprotected
template<int dim>
double Opm::Elasticity::PNShapeFunctionSet< dim >::legendreDerivative ( double  x,
int  n 
)
inlineprotected
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.

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

Member Data Documentation

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

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