Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
concepts::ShapeFunction1D< F > Class Template Reference

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

#include <shapefunction.hh>

Inheritance diagram for concepts::ShapeFunction1D< F >:
Inheritance graph
[legend]
Collaboration diagram for concepts::ShapeFunction1D< F >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

uint n () const
 Returns the number of shape functions.
uint nP () const
 Returns the number of abscissas (in which the shape functions are evaluated)
 ShapeFunction1D (const uint n, const uint nP)
 Constructor.
const F * values () const
 Returns the values of the shape functions.
 ~ShapeFunction1D ()

Protected Member Functions

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

Protected Attributes

F * values_
 Values of the shape functions.

Private Attributes

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

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 22 of file shapefunction.hh.


Constructor & Destructor Documentation

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 29 of file shapefunction.hh.

template<class F>
concepts::ShapeFunction1D< F >::~ShapeFunction1D ( ) [inline]

Definition at line 31 of file shapefunction.hh.


Member Function Documentation

template<class F>
virtual std::ostream& concepts::ShapeFunction1D< F >::info ( std::ostream &  os) const [protected, pure virtual]
template<class F>
uint concepts::ShapeFunction1D< F >::n ( ) const [inline]

Returns the number of shape functions.

Definition at line 33 of file shapefunction.hh.

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 36 of file shapefunction.hh.

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

Returns the values of the shape functions.

Definition at line 38 of file shapefunction.hh.


Member Data Documentation

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

Number of shape functions.

Definition at line 46 of file shapefunction.hh.

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

Number of points in which the shape functions are evaluated.

Definition at line 49 of file shapefunction.hh.

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

Values of the shape functions.

Definition at line 43 of file shapefunction.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)