ExpansionBasis1D< T > Class Template Reference

The base class template for a basis of $([0, 1] \rightarrow R)$ -functions. More...

#include <FuncExpansion.hpp>

Inheritance diagram for ExpansionBasis1D< T >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

int NFunctions () const
 The size of the basis.
virtual void PrintParam ()
 Prints the name of the basis and its parameters.
virtual void compute (T xi, T *val)=0
 The basis functions: Computes the values of all the basis functions at a given point and stores the values in the array T val [N].
 ExpansionBasis1D (int the_N)
 Constructor.
virtual ~ExpansionBasis1D ()
 Virtual destructor.

Detailed Description

template<typename T>
class ExpansionBasis1D< T >

The base class template for a basis of $([0, 1] \rightarrow R)$ -functions.


Constructor & Destructor Documentation

template<typename T>
ExpansionBasis1D< T >::ExpansionBasis1D ( int  the_N  )  [inline]

Constructor.

Parameters:
[in] the_N The number of the functions

template<typename T>
virtual ExpansionBasis1D< T >::~ExpansionBasis1D (  )  [inline, virtual]

Virtual destructor.


Member Function Documentation

template<typename T>
int ExpansionBasis1D< T >::NFunctions (  )  const [inline]

The size of the basis.

template<typename T>
virtual void ExpansionBasis1D< T >::PrintParam (  )  [inline, virtual]

Prints the name of the basis and its parameters.

Reimplemented in ChLagrangeBasis1D< T >.

template<typename T>
virtual void ExpansionBasis1D< T >::compute ( xi,
T *  val 
) [pure virtual]

The basis functions: Computes the values of all the basis functions at a given point and stores the values in the array T val [N].

Parameters:
[in] xi The argument (should be in [0, 1])
[in] val N values of the basis functions at 'xi'

Implemented in ChLagrangeBasis1D< T >.


The documentation for this class was generated from the following file:
Generated on Fri Sep 21 12:34:10 2007 for SG2 by  doxygen 1.5.2