Class documentation of Concepts

Loading...
Searching...
No Matches

#include <quad.hh>

Inheritance diagram for hp2D::KarniadakisDeriv2:
concepts::ShapeFunction1D< Real > concepts::OutputOperator

Public Member Functions

 KarniadakisDeriv2 (const int P, const Real *xP, const int NxP, const bool cache=true)
 
 ~KarniadakisDeriv2 ()
 Copy constructor.
 
uint n () const
 Returns the number of shape functions.
 
uint nP () const
 
const Real * values () const
 Returns the values of the shape functions.
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Protected Attributes

Real * values_
 Values of the shape functions.
 

Detailed Description

Part of the multidimensional expansion bases for the shape functions of Karniadakis and Sherwin. Computes the derivate of $\psi^a_i(x)$. In difference to Karniadakis<1,1> the first function is left out, so that the shape functions are linearly independent.

The first functions are: $\psi_0 = \frac{1}{2}$, $\psi_1 = -x\frac{1}{2}$, $\psi_1 = (-3x^2+1)\frac{1}{2}$, $\psi_2 = \frac{3}{4}x(5x^2-3)$/

Definition at line 516 of file quad.hh.

Constructor & Destructor Documentation

◆ KarniadakisDeriv2()

hp2D::KarniadakisDeriv2::KarniadakisDeriv2 ( const int  P,
const Real *  xP,
const int  NxP,
const bool  cache = true 
)

Constructor. Computes the values of the shape functions of the given order and in the given points.

Parameters
POrder of the principal function
xPPoints
NxPNumber of points

Member Function Documentation

◆ info()

virtual std::ostream & hp2D::KarniadakisDeriv2::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Implements concepts::ShapeFunction1D< Real >.

◆ n()

uint concepts::ShapeFunction1D< Real >::n ( ) const
inlineinherited

Returns the number of shape functions.

Definition at line 35 of file shapefunction.hh.

◆ nP()

uint concepts::ShapeFunction1D< Real >::nP ( ) const
inlineinherited

Returns the number of abscissas (in which the shape functions are evaluated)

Definition at line 38 of file shapefunction.hh.

◆ values()

const Real * concepts::ShapeFunction1D< Real >::values ( ) const
inlineinherited

Returns the values of the shape functions.

Definition at line 40 of file shapefunction.hh.

Member Data Documentation

◆ values_

Real * concepts::ShapeFunction1D< Real >::values_
protectedinherited

Values of the shape functions.

Definition at line 45 of file shapefunction.hh.


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