Rys shape function basis over an element [a,b]. More...

#include <rys.hh>

Inheritance diagram for concepts::Rys:
concepts::ShapeFunction1D< Real > concepts::OutputOperator

Public Member Functions

uint n () const
 Returns the number of shape functions. More...
 
uint nP () const
 Returns the number of abscissas (in which the shape functions are evaluated) More...
 
 Rys (const Real a, const Real b, const Real alpha, const int p, const Array< Real > &abscissas)
 Compute Rys polynomials on [a,b] w.r.t. More...
 
 Rys (const Real a, const Real b, const Real alpha, const int p, const QuadratureRule1d &quadrature)
 Compute Rys polynomials on [a,b] w.r.t. More...
 
 Rys (const Rys &other)
 
const Realvalues () const
 Returns the values of the shape functions. More...
 
 ~Rys () override
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 
void init (Real a, Real b, Real alpha, const Real xP[])
 

Protected Attributes

Realvalues_
 Values of the shape functions. More...
 

Private Attributes

uint n_
 Number of shape functions. More...
 
uint nP_
 Number of points in which the shape functions are evaluated. More...
 

Detailed Description

Rys shape function basis over an element [a,b].

Author
Lukas Drescher, 2015

Definition at line 22 of file rys.hh.

Constructor & Destructor Documentation

◆ Rys() [1/3]

concepts::Rys::Rys ( const Real  a,
const Real  b,
const Real  alpha,
const int  p,
const QuadratureRule1d quadrature 
)

Compute Rys polynomials on [a,b] w.r.t.

standard normal distribution up to polynomial degree p at nodes specified in quadrature

Note
: The nodes are w.r.t. the interval [-1,1]

◆ Rys() [2/3]

concepts::Rys::Rys ( const Real  a,
const Real  b,
const Real  alpha,
const int  p,
const Array< Real > &  abscissas 
)

Compute Rys polynomials on [a,b] w.r.t.

standard normal distribution up to polynomial degree p at nodes specified in abscissas

Note
: The nodes are w.r.t. the interval [-1,1]

◆ Rys() [3/3]

concepts::Rys::Rys ( const Rys other)

◆ ~Rys()

concepts::Rys::~Rys ( )
override

Member Function Documentation

◆ info()

virtual std::ostream& concepts::Rys::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Implements concepts::ShapeFunction1D< Real >.

◆ init()

void concepts::Rys::init ( Real  a,
Real  b,
Real  alpha,
const Real  xP[] 
)
protected

◆ 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

◆ n_

uint concepts::ShapeFunction1D< Real >::n_
privateinherited

Number of shape functions.

Definition at line 48 of file shapefunction.hh.

◆ nP_

uint concepts::ShapeFunction1D< Real >::nP_
privateinherited

Number of points in which the shape functions are evaluated.

Definition at line 51 of file shapefunction.hh.

◆ 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:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich