concepts::ShapeFunction1D< F > Class Template Referenceabstract

Abstract class for 1D shape function. More...

#include <shapefunction.hh>

Inheritance diagram for concepts::ShapeFunction1D< F >:
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...
 
 ShapeFunction1D (const uint n, const uint nP)
 Constructor. More...
 
const F * values () const
 Returns the values of the shape functions. More...
 
virtual ~ShapeFunction1D ()
 

Protected Member Functions

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

Protected Attributes

F * values_
 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

template<class F>
class concepts::ShapeFunction1D< F >

Abstract class for 1D shape function.

The user can query how many form functions in how many points are available. The class is abstract since a derived class must give sense to the values_ array (ie. allocate and fill the entries).

Author
Philipp Fraunfelder, 2001.

Definition at line 24 of file shapefunction.hh.

Constructor & Destructor Documentation

◆ ShapeFunction1D()

template<class F >
concepts::ShapeFunction1D< F >::ShapeFunction1D ( const uint  n,
const uint  nP 
)
inline

Constructor.

Parameters
nNumber of shape functions
nPNumber of points in which the shape functions are evaluated

Definition at line 31 of file shapefunction.hh.

◆ ~ShapeFunction1D()

template<class F >
virtual concepts::ShapeFunction1D< F >::~ShapeFunction1D ( )
inlinevirtual

Definition at line 33 of file shapefunction.hh.

Member Function Documentation

◆ info()

template<class F >
virtual std::ostream& concepts::ShapeFunction1D< F >::info ( std::ostream &  os) const
protectedpure virtual

◆ n()

template<class F >
uint concepts::ShapeFunction1D< F >::n ( ) const
inline

Returns the number of shape functions.

Definition at line 35 of file shapefunction.hh.

◆ nP()

template<class F >
uint concepts::ShapeFunction1D< F >::nP ( ) const
inline

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

Definition at line 38 of file shapefunction.hh.

◆ values()

template<class F >
const F* concepts::ShapeFunction1D< F >::values ( ) const
inline

Returns the values of the shape functions.

Definition at line 40 of file shapefunction.hh.

Member Data Documentation

◆ n_

template<class F >
uint concepts::ShapeFunction1D< F >::n_
private

Number of shape functions.

Definition at line 48 of file shapefunction.hh.

◆ nP_

template<class F >
uint concepts::ShapeFunction1D< F >::nP_
private

Number of points in which the shape functions are evaluated.

Definition at line 51 of file shapefunction.hh.

◆ values_

template<class F >
F* concepts::ShapeFunction1D< F >::values_
protected

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