ChLagrangeBasis1D< T > Class Template Reference

The class of the basis functions and the expansion method. More...

#include <LagrangeExpan.hpp>

Inheritance diagram for ChLagrangeBasis1D< T >:

Inheritance graph
[legend]
Collaboration diagram for ChLagrangeBasis1D< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void PrintParam ()
 Prints the name of the basis and its size.
void compute (T xi, T *val)
 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].
 ChLagrangeBasis1D (int the_N)
 Constructor.
 ~ChLagrangeBasis1D ()
 Destructor.

Static Public Member Functions

static void ComputeExpansion (KernelExpansion1D< T > &k_expansion, ChLagrangeBasis1D< T > &Phi, ChLagrangeBasis1D< T > &Psi)
 Computes the expansion of the kernel (initializes the references to the bases and computes the coefficients).

Detailed Description

template<typename T>
class ChLagrangeBasis1D< T >

The class of the basis functions and the expansion method.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
[in] the_N The number of the functions

template<typename T>
ChLagrangeBasis1D< T >::~ChLagrangeBasis1D (  )  [inline]

Destructor.

Note:
'prefactor' and 'left' are allocated in one block with 'ch_point'.


Member Function Documentation

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

Prints the name of the basis and its size.

Reimplemented from ExpansionBasis1D< T >.

template<typename T>
void ChLagrangeBasis1D< T >::compute ( xi,
T *  val 
) [inline, 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'

Implements ExpansionBasis1D< T >.

template<typename T>
void ChLagrangeBasis1D< T >::ComputeExpansion ( KernelExpansion1D< T > &  k_expansion,
ChLagrangeBasis1D< T > &  Phi,
ChLagrangeBasis1D< T > &  Psi 
) [inline, static]

Computes the expansion of the kernel (initializes the references to the bases and computes the coefficients).

Parameters:
[in] k_expansion The kernel
[in] Phi The x-basis
[in] Psi The y-basis
Note:
'Phi' and 'Psi' may reference the same object.


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